Skip to content

Commit

Permalink
Require master branch for releases
Browse files Browse the repository at this point in the history
Should have been part of eb3a523.
  • Loading branch information
nre-ableton committed Jul 15, 2022
1 parent f302c20 commit 3079c70
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,12 @@ artifactory {
}

release {
tagTemplate='v$version' // single quotes are required
git {
// TODO: We can't set this like a normal property because of a bug in the release plugin.
// See: https://github.com/researchgate/gradle-release/issues/357
requireBranch.set('master')
}
tagTemplate = 'v$version' // single quotes are required
failOnCommitNeeded = false
failOnPublishNeeded = false
failOnUpdateNeeded = false
Expand Down

0 comments on commit 3079c70

Please sign in to comment.