Improve CI artifact version names #206

Merged
lucas merged 2 commits from issue/205 into master 2025-03-12 11:46:27 +01:00
Showing only changes of commit 5612e271fb - Show all commits

View file

@ -25,7 +25,8 @@ if [ -n "$PR" ]; then
title "PR: $(echo "$PR" | jq '.number') - $(echo "$PR" | jq '.title')"
ref="pr-$(echo "$PR" | jq '.number')-$(git rev-parse --short "$(cat .git/ref || echo "HEAD")" 2>/dev/null || echo 'manual')"
else
ref=$(git describe --tags)
ref=$(cat .git/ref || echo "HEAD")
ref=$(git rev-parse --abbrev-ref $ref)-$(git rev-parse --short $ref)
fi
title "Version: '$ref'"