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