This commit is contained in:
naiba 2024-10-30 23:22:37 +08:00
parent 175215698d
commit ae18401351
2 changed files with 5 additions and 1 deletions

View File

@ -67,7 +67,7 @@ jobs:
with:
distribution: goreleaser
version: '~> v2'
args: build --single-target --clean --skip=validate --buildvcs=false --snapshot
args: build --single-target --clean --skip=validate --snapshot
- name: Upload artifacts
uses: actions/upload-artifact@v4

View File

@ -13,6 +13,7 @@ builds:
- -extldflags "-static -fpic"
flags:
- -trimpath
- -buildvcs=true
goos:
- linux
goarch:
@ -29,6 +30,7 @@ builds:
- -extldflags "-static -fpic"
flags:
- -trimpath
- -buildvcs=true
goos:
- linux
goarch:
@ -45,6 +47,7 @@ builds:
- -extldflags "-static -fpic"
flags:
- -trimpath
- -buildvcs=true
goos:
- linux
goarch:
@ -61,6 +64,7 @@ builds:
- -extldflags "-static -fpic"
flags:
- -trimpath
- -buildvcs=true
goos:
- windows
goarch: