Skip to content

Commit

Permalink
add prod flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
xshoji committed Jan 7, 2023
1 parent c749436 commit cc50791
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion goreleaser-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ builds:
- amd64
binary: app
hooks:
post: v -o "dist/1_{{ .Os }}_{{ .Arch }}_v1/app" -os "linux" -message-limit 0 main.v;
post: v -prod -o "dist/1_{{ .Os }}_{{ .Arch }}_v1/app" -os "linux" -message-limit 0 main.v;

# archives.replacements - Deprecation notices - GoReleaser https://goreleaser.com/deprecations/?h=replacements#archivesreplacements
archives:
Expand Down
4 changes: 2 additions & 2 deletions goreleaser-macos-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ builds:
- amd64
binary: app
hooks:
post: v -o "dist/2_{{ .Os }}_{{ .Arch }}_v1/app" -os "macos" -message-limit 0 main.v;
post: v -prod -o "dist/2_{{ .Os }}_{{ .Arch }}_v1/app" -os "macos" -message-limit 0 main.v;
- id: '3'
main: dummy.go
goos:
Expand All @@ -16,7 +16,7 @@ builds:
- amd64
binary: app
hooks:
post: v -o "dist/3_{{ .Os }}_{{ .Arch }}_v1/app" -os "windows" -message-limit 0 main.v;
post: v -prod -o "dist/3_{{ .Os }}_{{ .Arch }}_v1/app" -os "windows" -message-limit 0 main.v;

# archives.replacements - Deprecation notices - GoReleaser https://goreleaser.com/deprecations/?h=replacements#archivesreplacements
archives:
Expand Down

0 comments on commit cc50791

Please sign in to comment.