Skip to content

Commit

Permalink
goreleaser: before hookをシェルスクリプトとして分離する (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit authored Jan 14, 2024
1 parent ab49d61 commit edeb2b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
version: 1
before:
hooks:
- go mod tidy
- bash scripts/release/goreleaser/before_hook.sh
builds:
- env:
- CGO_ENABLED=0
Expand Down
3 changes: 3 additions & 0 deletions scripts/release/goreleaser/before_hook.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

go mod tidy

0 comments on commit edeb2b2

Please sign in to comment.