Compare commits

..

1 commit

Author SHA1 Message Date
2ca9524557
chore(deps): update rust crate bincode to v2
Some checks failed
build/linux Build for the target platform: linux
build/msvc Build for the target platform: msvc
lint/clippy Checking for common mistakes and opportunities for code improvement
2025-03-12 12:20:08 +00:00

View file

@ -24,10 +24,13 @@ PR=${PR:-}
if [ -n "$PR" ]; then if [ -n "$PR" ]; then
title "PR: $(echo "$PR" | jq '.number') - $(echo "$PR" | jq '.title')" 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')" ref="pr-$(echo "$PR" | jq '.number')-$(git rev-parse --short "$(cat .git/ref || echo "HEAD")" 2>/dev/null || echo 'manual')"
elif [ -f ".git/branch"]; then
ref=$(cat .git/branch)-$(git rev-parse --short $ref)
else else
ref=$(git rev-parse --short "$(cat .git/ref || echo "HEAD")") ref=$(cat .git/ref || echo "HEAD")
branch=$(git rev-parse --abbrev-ref $ref)
if [ -z "$branch" ]; then
branch=$(cat .git/ref)
fi
ref=${branch}-$(git rev-parse --short $ref)
fi fi
title "Version: '$ref'" title "Version: '$ref'"