Skip to content

Commit

Permalink
CI/CD Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dodoooh committed Dec 10, 2024
1 parent d98d06f commit 7b4757e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:
run: |
git fetch --tags
# Aktuellsten Tag ermitteln
VERSION=$(git describe --tags --abbrev=0)
# Letzten Tag finden, auch wenn er nicht auf diesem Commit ist
VERSION=$(git describe --tags --abbrev=0 2>/dev/null || echo "1.0.0")
# Neue Version basierend auf dem aktuellen Tag erstellen
# Neue Version basierend auf dem letzten Tag erstellen
NEW_VERSION=$(echo $VERSION | awk -F. -v OFS=. '{$NF++; print}')
# Überprüfen, ob der neue Tag bereits existiert
Expand Down

0 comments on commit 7b4757e

Please sign in to comment.