Skip to content

Commit

Permalink
Feature/prepare for release (#14)
Browse files Browse the repository at this point in the history
Debugging a source of problem.
  • Loading branch information
miroslavpojer authored Aug 1, 2024
1 parent 400ecf9 commit 1daf06e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
// No existing tags, so any new tag is valid
console.log('No existing tags found. Any new tag is considered valid.');
return;
} else {
console.log(`Existing tags: ${refs.map(ref => ref.ref.replace('refs/tags/', '')).join(', ')}`);
}
const latestTag = refs.sort((a, b) => new Date(b.object.date) - new Date(a.object.date))[0].ref.replace('refs/tags/', '');
Expand Down

0 comments on commit 1daf06e

Please sign in to comment.