Skip to content

Commit 2cd4403

Browse files
committed
Fix passing of options to release scripts
getopts requires that options are the first arguments
1 parent ae5e5b2 commit 2cd4403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/release/Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ pipeline {
271271
}
272272

273273
withCredentials([string(credentialsId: 'Hibernate-CI.github.com', variable: 'GITHUB_API_TOKEN')]) {
274-
sh ".release/scripts/github-release.sh ${env.PROJECT} ${env.RELEASE_VERSION} ${env.SCRIPT_OPTIONS} --notes=${notesFiles[0].path}"
274+
sh ".release/scripts/github-release.sh ${env.SCRIPT_OPTIONS} --notes=${notesFiles[0].path} ${env.PROJECT} ${env.RELEASE_VERSION}"
275275
}
276276
}
277277
}

0 commit comments

Comments
 (0)