Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Mar 26, 2020
1 parent 0bf08ba commit f68635e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ task checkGitStatus() {
throw new RuntimeException("Git repository not ready for release (${grgit.status()})")
}
def currentBranch = grgit.branch.current().getName()
if (currentBranch != 'master') {
throw new RuntimeException("Need to be on the master branch to release (currently on ${currentBranch})")
}
grgit.fetch()
if (grgit.tag.list().any { it.name == project.version }) {
throw new RuntimeException("A tag already exists for ${project.version}")
Expand Down

0 comments on commit f68635e

Please sign in to comment.