mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-01-09 10:19:57 +01:00
Try and get the version scriptlet working.
This commit is contained in:
parent
bd571ad746
commit
a095351e4a
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
|
@ -125,7 +125,9 @@ pipeline {
|
|||
mavenOpts: '-Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts' //Work around for JDK9 missing cacerts
|
||||
) {
|
||||
sh "mvn -P windows,linux,osx,wintab,release versions:set -DremoveSnapshot"
|
||||
VERSION_TAG = sh(script: "mvn -Dexpression=project.version help:evaluate | grep -e '^[[:digit:]]'", returnStdout: true).trim()
|
||||
script {
|
||||
VERSION_TAG = sh(script: "mvn -Dexpression=project.version help:evaluate | grep -e '^[[:digit:]]'", returnStdout: true).trim()
|
||||
}
|
||||
sh "git tag -a ${VERSION_TAG} -m 'Release tag ${VERSION_TAG}'"
|
||||
sh "mvn -P windows,linux,osx,wintab -Dmaven.antrun.skip -Dmaven.test.skip -DskipTests -DskipITs deploy"
|
||||
sh "mvn -P windows,linux,osx,wintab,release versions:set -DnextSnapshot"
|
||||
|
|
|
|||
Loading…
Reference in a new issue