Skip to content

Commit 58969fa

Browse files
committed
fix: Pin goreleaser version
1 parent 844795f commit 58969fa

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/release-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
uses: goreleaser/goreleaser-action@v6
7474
with:
7575
distribution: goreleaser
76-
version: latest
76+
version: v2.5.1
7777
args: --config .goreleaser/linux.yml --clean --snapshot --skip=publish
7878
env:
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tagpr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
uses: goreleaser/goreleaser-action@v6
9393
with:
9494
distribution: goreleaser
95-
version: latest
95+
version: v2.5.1
9696
args: --config .goreleaser/linux.yml --clean --skip=publish
9797
env:
9898
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser/linux.yml

+10
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@ before:
66
builds:
77
-
88
id: tbls-linux
9+
flags:
10+
- -a
11+
- -tags
12+
- netgo,timetzdata
13+
- -installsuffix
14+
- netgo
915
ldflags:
1016
- -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}}
17+
- -linkmode external
18+
- -extldflags '-static'
1119
env:
1220
- CGO_ENABLED=1
1321
goos:
@@ -18,7 +26,9 @@ builds:
1826
overrides:
1927
- goos: linux
2028
goarch: arm64
29+
goamd64: ""
2130
goarm: v8.0
31+
gomips: ""
2232
env:
2333
- CC=aarch64-linux-gnu-gcc
2434
- CXX=aarch64-linux-gnu-g++

0 commit comments

Comments
 (0)