Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit a39a194

Browse files
committed
Fixed Jenkinsfile for automated release
1 parent 6877964 commit a39a194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ stage('Publish') {
5050
checkout scm // re-checkout to be able to git tag
5151
unstash name: 'built'
5252
// read the version name and determine if it is a release build
53-
version = new File('VERSION').text.trim()
53+
version = readFile('VERSION').trim()
5454
isReleaseVersion = !version.toUpperCase(Locale.ENGLISH).contains("SNAPSHOT")
5555

5656
// Upload using the ossrh creds (upload destination logic is in build.gradle)

0 commit comments

Comments
 (0)