From 8c5c78fe69d69781fef1100cc7765bf42f72c9a5 Mon Sep 17 00:00:00 2001 From: jonasgabriel18 Date: Sun, 14 Apr 2024 13:59:44 -0300 Subject: [PATCH] try to fix develop release autoversion --- .github/workflows/develop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 9f943ffb..35e77d89 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -147,7 +147,7 @@ jobs: }); const latestRelease = response.data.tag_name; const versionParts = latestRelease.replace(/^v/, '').split('.'); - const newVersion = `${parseInt(versionParts[0])}.${parseInt(versionParts[1])}.${parseInt(versionParts[2]) + 1}`; + const newVersion = `${parseInt(versionParts[0])}.${parseInt(versionParts[1]) + 1}.0`; console.log(`::set-output name=new_version::${newVersion}`); - name: Rename file