(ctx context.Context, tag string)
| 267 | } |
| 268 | |
| 269 | func gitTag(ctx context.Context, tag string) error { |
| 270 | cmd := exec.CommandContext(ctx, "git", "tag", tag, "-m", tag) |
| 271 | if out, err := cmd.CombinedOutput(); err != nil { |
| 272 | return fmt.Errorf("git tag (%s): %s", err, string(out)) |
| 273 | } |
| 274 | return nil |
| 275 | } |
| 276 | |
| 277 | func gitPushTags(ctx context.Context) error { |
| 278 | cmd := exec.CommandContext(ctx, "git", "push", "--tags") |