Skip to content

Commit

Permalink
try to fix develop release autoversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgabriel18 committed Apr 14, 2024
1 parent 13efdcd commit 6c2537a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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])}.${parseInt(versionParts[2]) + 2}`;
console.log(`::set-output name=new_version::${newVersion}`);
- name: Rename file
Expand Down

0 comments on commit 6c2537a

Please sign in to comment.