Skip to content

Commit 6fea6a9

Browse files
committed
Add logging message to release_draft.yml file.
1 parent c5a3a82 commit 6fea6a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release_draft.yml

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
repo: context.repo.repo,
4040
ref: 'tags/'
4141
});
42+
console.log(`Existing tags: ${refs.map(ref => ref.ref.replace('refs/tags/', '')).join(', ')}`);
4243
4344
const latestTag = refs.sort((a, b) => new Date(b.object.date) - new Date(a.object.date))[0].ref.replace('refs/tags/', '');
4445
console.log(`Latest tag: ${latestTag}`);

0 commit comments

Comments
 (0)