We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5a3a82 commit 6fea6a9Copy full SHA for 6fea6a9
.github/workflows/release_draft.yml
@@ -39,6 +39,7 @@ jobs:
39
repo: context.repo.repo,
40
ref: 'tags/'
41
});
42
+ console.log(`Existing tags: ${refs.map(ref => ref.ref.replace('refs/tags/', '')).join(', ')}`);
43
44
const latestTag = refs.sort((a, b) => new Date(b.object.date) - new Date(a.object.date))[0].ref.replace('refs/tags/', '');
45
console.log(`Latest tag: ${latestTag}`);
0 commit comments