diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4c73733..b19f8445 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.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