ci: fix tag versioning by fetching all tags in workflows

This commit is contained in:
2026-06-03 22:37:46 +02:00
parent e39f930cf9
commit 905f53c74e
2 changed files with 58 additions and 56 deletions
+3 -2
View File
@@ -38,6 +38,7 @@ jobs:
with: with:
# Tells the action to use the local 'git' binary we just installed # Tells the action to use the local 'git' binary we just installed
set-safe-directory: 'true' set-safe-directory: 'true'
fetch-depth: 0
- name: Determine Version - name: Determine Version
run: | run: |
@@ -62,5 +63,5 @@ jobs:
- name: Tag and Push Version - name: Tag and Push Version
run: | run: |
git tag $VERSION git tag $VERSION
git push origin $VERSION git push origin $VERSION
+3 -2
View File
@@ -38,6 +38,7 @@ jobs:
with: with:
# Tells the action to use the local 'git' binary we just installed # Tells the action to use the local 'git' binary we just installed
set-safe-directory: 'true' set-safe-directory: 'true'
fetch-depth: 0
- name: Determine Version - name: Determine Version
run: | run: |
@@ -62,5 +63,5 @@ jobs:
- name: Tag and Push Version - name: Tag and Push Version
run: | run: |
git tag $VERSION git tag $VERSION
git push origin $VERSION git push origin $VERSION