Skip to content

Commit e65cbe5

Browse files
committed
Fix issue in the release Jenkinsfile
1 parent 149cbaf commit e65cbe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/release/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pipeline {
111111
}
112112
releaseVersion = Version.parseReleaseVersion( params.RELEASE_VERSION )
113113

114-
if ( releaseVersion.toString().startsWith( currentVersion.family + '.' ) ) {
114+
if ( !releaseVersion.toString().startsWith( currentVersion.family + '.' ) ) {
115115
throw new IllegalArgumentException( "RELEASE_VERSION = $releaseVersion, which is different from the family of CURRENT_VERSION = $currentVersion. Did you make a mistake?" )
116116
}
117117
}

0 commit comments

Comments
 (0)