Skip to content

Commit

Permalink
fix: retrieve correct last tag for snapshot versions
Browse files Browse the repository at this point in the history
  • Loading branch information
error418 committed May 30, 2019
1 parent b960fa6 commit 9aa929b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SemrelPlugin implements Plugin<Project> {
def semanticReleaseVersion = "15"

def grgit = Grgit.open(dir: project.rootProject.projectDir)
def gitDescribe = grgit.describe()
def gitDescribe = grgit.describe(longDescr: false, tags: true)
def currentBranch = grgit.branch.current()
def gitStatus = grgit.status()

Expand Down

0 comments on commit 9aa929b

Please sign in to comment.