generated from Grigo/CppQtTemplate
asd
asd
This commit is contained in:
Vendored
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user