Add a check for existing tags

This commit is contained in:
2025-05-01 22:07:35 +02:00
parent 00d7fa8858
commit 68f8864a60
+8
View File
@@ -45,6 +45,14 @@ jobs:
dry_run: true
append_to_pre_release_tag: "rc"
- name: Check for existing tag
id: check_tag
run: |
if git tag | grep -q "${{ steps.tag_version_dry.outputs.new_tag }}"; then
echo "Tag already exists. Exiting."
exit 1
fi
- name: Generate Release Notes
id: generate_release_notes
run: |