From 1915a941e369720f1f0092e416002ebd1007e51e Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Mon, 13 Nov 2023 16:01:14 +0800 Subject: [PATCH] refactor(main): fix release (#134) Signed-off-by: cuisongliu --- .github/workflows/pr.yml | 2 +- .github/workflows/push.yml | 2 +- .goreleaser.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 6dbc4c3..5967424 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -25,7 +25,7 @@ jobs: uses: goreleaser/goreleaser-action@v1 with: version: latest - args: build --snapshot --rm-dist --timeout=1h + args: release --snapshot --rm-dist --timeout=1h env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} VERSION: latest diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0e13f16..cdf6367 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -25,7 +25,7 @@ jobs: uses: goreleaser/goreleaser-action@v1 with: version: latest - args: build --snapshot --rm-dist --timeout=1h + args: release --snapshot --rm-dist --timeout=1h env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} VERSION: latest diff --git a/.goreleaser.yml b/.goreleaser.yml index b0006c3..3fea3cf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,6 +9,7 @@ builds: - CGO_ENABLED=0 goos: - linux + - darwin goarch: - amd64 - arm64