From ae18401351ccbf20e4db318e6188e8541641f413 Mon Sep 17 00:00:00 2001 From: naiba Date: Wed, 30 Oct 2024 23:22:37 +0800 Subject: [PATCH] fix ci --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc2a056..7b6ba6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.goreleaser.yml b/.goreleaser.yml index 2957834..4756094 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: