Skip to content

Commit

Permalink
Add logging message to release_draft.yml file. (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer authored Jan 29, 2024
1 parent 2146b50 commit c5a3a82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
});
const latestTag = refs.sort((a, b) => new Date(b.object.date) - new Date(a.object.date))[0].ref.replace('refs/tags/', '');
console.log(`Latest tag: ${latestTag}`);
const latestVersion = latestTag.replace('v', '').split('.').map(Number);
const newVersion = newTag.replace('v', '').split('.').map(Number);
Expand Down

0 comments on commit c5a3a82

Please sign in to comment.