Skip to content

Commit

Permalink
chore: use --clean instead of --rm-dist
Browse files Browse the repository at this point in the history
Fixes a deprecation warning message from GoReleaser.
  • Loading branch information
odsod committed Jul 26, 2023
1 parent 8e386c7 commit 5d7b10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .sage/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func GoReleaser(ctx context.Context, snapshot bool) error {
}
args := []string{
"release",
"--rm-dist",
"--clean",
}
if len(sggit.Tags(ctx)) == 0 && !snapshot {
sg.Logger(ctx).Printf("no git tag found for %s, forcing snapshot mode", sggit.ShortSHA(ctx))
Expand Down

0 comments on commit 5d7b10c

Please sign in to comment.