Skip to content

Commit

Permalink
chore: main auto version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tahaluh committed Apr 6, 2024
1 parent a60f0c1 commit 1113171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.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]) + 1}.0`;
console.log(`::set-output name=new_version::${newVersion}`);
- name: Rename file
Expand Down

0 comments on commit 1113171

Please sign in to comment.