Skip to content

Commit

Permalink
fix: Pin goreleaser version
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jan 24, 2025
1 parent 844795f commit 41fe044
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
version: v2.5.1
args: --config .goreleaser/darwin.yml --clean --snapshot --skip=publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
version: v2.5.1
args: --config .goreleaser/darwin.yml --clean --skip=publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 10 additions & 0 deletions .goreleaser/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@ before:
builds:
-
id: tbls-linux
flags:
- -a
- -tags
- netgo,timetzdata
- -installsuffix
- netgo
ldflags:
- -s -w -X github.com/k1LoW/tbls.version={{.Version}} -X github.com/k1LoW/tbls.commit={{.FullCommit}} -X github.com/k1LoW/tbls.date={{.Date}} -X github.com/k1LoW/tbls/version.Version={{.Version}}
- -linkmode external
- -extldflags '-static'
env:
- CGO_ENABLED=1
goos:
Expand All @@ -18,7 +26,9 @@ builds:
overrides:
- goos: linux
goarch: arm64
goamd64: ""
goarm: v8.0
gomips: ""
env:
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
Expand Down

0 comments on commit 41fe044

Please sign in to comment.