Skip to content

Commit

Permalink
Merge pull request #1 from haya14busa/merged
Browse files Browse the repository at this point in the history
Use only reachable tags for release branch workflow
  • Loading branch information
haya14busa authored Jan 20, 2020
2 parents f25d308 + 495d811 commit 4db9843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func nextTag(tags []string, level Level) (string, error) {
}

func tags(ctx context.Context) ([]string, error) {
cmd := exec.CommandContext(ctx, "git", "tag")
cmd := exec.CommandContext(ctx, "git", "tag", "--merged")
b, err := cmd.CombinedOutput()
if err != nil {
return nil, fmt.Errorf("failed to run `git tag`: %v", err)
Expand Down

0 comments on commit 4db9843

Please sign in to comment.