From 9ec3ea5e74e36d8b2f240e7dd7c3713f753e4c15 Mon Sep 17 00:00:00 2001 From: Noahnc Date: Sat, 26 Aug 2023 16:32:02 +0200 Subject: [PATCH] WIP: 48f9a07 init --- .github/workflows/publish_version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_version.yml b/.github/workflows/publish_version.yml index 9267bd4..7183058 100644 --- a/.github/workflows/publish_version.yml +++ b/.github/workflows/publish_version.yml @@ -66,7 +66,7 @@ jobs: per_page: 1 }); let latestReleaseVersion; - if (releases === undefined || releases.data === undefined) { + if (releases === undefined || releases.data === undefined || releases.data.length === 0) { console.log('No releases found, using v0.0.0 as latest release version'); latestReleaseVersion = 'v0.0.0'; } else {