Skip to content
/ beam Public
forked from apache/beam

Commit

Permalink
[BEAM-6595] Do not push to release branch from gradle maven release p…
Browse files Browse the repository at this point in the history
…lugin
  • Loading branch information
kennknowles committed Feb 6, 2019
1 parent f3b8a75 commit d398249
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,14 @@ task runBeamDependencyCheck() {
}

apply plugin: 'net.researchgate.release'

// Configure the release plugin to do only local work; the release manager determines what, if
// anything, to push. On failure, the release manager can reset the branch without pushing.
release {
revertOnFail = true
revertOnFail = false
tagTemplate = 'v${version}'
git {
requireBranch = 'release-.*|master'
pushToRemote = ''
}
}

0 comments on commit d398249

Please sign in to comment.