asd
This commit is contained in:
2026-05-03 15:53:11 +00:00
parent 69ac2c5be3
commit 7592b3e42b
Vendored
+4 -4
View File
@@ -138,7 +138,7 @@ powershell -NoProfile -ExecutionPolicy Bypass -File gitea-release.ps1
} }
} }
post { post {
always { always {
node('linux') { node('linux') {
cleanWs() cleanWs()
@@ -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
@@ -234,5 +234,5 @@ PY
} }
} }
} }
} }
} }