asd
This commit is contained in:
2026-05-03 15:53:11 +00:00
parent 69ac2c5be3
commit 7592b3e42b
Vendored
+2 -2
View File
@@ -151,9 +151,9 @@ powershell -NoProfile -ExecutionPolicy Bypass -File gitea-release.ps1
sh(returnStatus: true, script: """ sh(returnStatus: true, script: """
set +e set +e
REF=\\$(git log -1 --pretty=%B | grep -oE 'TG-[0-9]+' | head -1 | cut -d- -f2 || true) REF=\$(git log -1 --pretty=%B | grep -oE 'TG-[0-9]+' | head -1 | cut -d- -f2 || true)
if [ -z "\\$REF" ]; then if [ -z "\$REF" ]; then
echo "No TG-* reference found" echo "No TG-* reference found"
exit 0 exit 0
fi fi