Build artifacts for master #151

Merged
lucas merged 2 commits from feat/ci into master 2023-11-28 11:54:21 +01:00
Showing only changes of commit 316a5aaa33 - Show all commits

View file

@ -19,7 +19,9 @@ install_artifact() {
cd "repo"
if [ -n "${PR:-}" ]; then
PR=${PR:-}
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