diff --git a/JenkinsfileRelease b/JenkinsfileRelease index fa3e32ad..4feb08b9 100644 --- a/JenkinsfileRelease +++ b/JenkinsfileRelease @@ -27,7 +27,7 @@ pipeline { string(name: 'RELEASE_VERSION', defaultValue: '', description: 'Version to be released') booleanParam(name: 'RELEASE_DRY_RUN', defaultValue: false, description: 'Whether to push releases to GitHub') booleanParam(name: 'RELEASE_VERBOSE', defaultValue: false, description: 'Whether to print more verbose logs during release') - booleanParam(name: 'IS_PRODUCTION', defaultValue: false, description: 'If true, dev branch will be merged and push to main. Disable this for release candidates. No effect when dry run is true') + booleanParam(name: 'RELEASE_MERGE_BRANCHES', defaultValue: false, description: 'If true, dev branch will be merged and push to main. Disable this for release candidates. No effect when dry run is true') } stages { stage ('Ensure dev branch') { @@ -83,7 +83,7 @@ pipeline { withGradle { sh './gradlew prepareRelease' sh './gradlew releaseGitLocal' - sh './gradlew pushRelease -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET -PreleaseMergeBranches=$IS_PRODUCTION' + sh './gradlew pushRelease -Pgradle.publish.key=$GRADLE_PUBLISH_KEY -Pgradle.publish.secret=$GRADLE_PUBLISH_SECRET' } } }