.gitea/workflows/linux_arm64_docker.yaml aktualisiert #58

Merged
Penry merged 1 commits from penry-patch-1 into main 2026-06-07 18:44:33 +02:00
+7 -6
View File
@@ -33,13 +33,14 @@ jobs:
git fetch --force --tags origin git fetch --force --tags origin
git fetch --force origin main:refs/remotes/origin/main git fetch --force origin main:refs/remotes/origin/main
LAST_TAG=$(git log --first-parent --decorate=short --simplify-by-decoration --oneline origin/main \ LAST_TAG=$(git for-each-ref \
| grep -oE 'tag: v[^,)]+' \ --sort=-creatordate \
| head -n 1 \ --format='%(refname:strip=2)' \
| sed 's/tag: //') refs/tags/v* \
| head -n 1)
if [[ -z "${LAST_TAG:-}" ]]; then if [[ -z "${LAST_TAG:-}" ]]; then
echo "No release tag found" echo "No tag found"
exit 1 exit 1
fi fi
@@ -61,7 +62,7 @@ jobs:
echo "Last tag: $LAST_TAG" echo "Last tag: $LAST_TAG"
echo "Last tag commit: $LAST_COMMIT" echo "Last tag commit: $LAST_COMMIT"
echo "Distance to origin/main (first-parent): $DISTANCE" echo "Distance to origin/main: $DISTANCE"
echo "Final version: $VERSION" echo "Final version: $VERSION"
- name: Set .NET version variables - name: Set .NET version variables