diff --git a/branch-from-tag.sh b/branch-from-tag.sh index 8381f2e786..ee8d5d0730 100755 --- a/branch-from-tag.sh +++ b/branch-from-tag.sh @@ -45,7 +45,7 @@ branch_version="${major_version}.${minor_version}.${branch_bugfix_version}-SNAPS sed -i "s/${tag_version}/${branch_version}/g" gradle.properties # Update the Jenkins job default branch name -sed -i "s/defaultValue: 'master'/defaultValue: '${branch_name}'/g" Jenkinsfile.release +sed -i "s#defaultValue: 'master'#defaultValue: '${branch_name}'#g" Jenkinsfile.release git commit -am"[Release Script] Updating version to ${branch_version}" git push --set-upstream origin ${branch_name}