Skip to content

Commit

Permalink
Merge pull request #84 from jwliechty/b-fix_tag_format
Browse files Browse the repository at this point in the history
Fix tag format of container when building tag
  • Loading branch information
Spiddy authored Apr 22, 2019
2 parents 523cc0a + 6711fcd commit 10c4ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func getBranches(all_branches bool) []string {
// Labels (branches + tags)
var labels = []string{}

branches_str, _ := oneliner("git", "name-rev", "--name-only", "HEAD")
branches_str, _ := oneliner("git", "name-rev", "--name-only", "--exclude=tags/*", "HEAD")
if all_branches {
branches_str, _ = oneliner("git", "branch", "--no-column", "--contains", "HEAD")
}
Expand Down

0 comments on commit 10c4ad3

Please sign in to comment.