Browse Source

chore: update auto-tag workflow to use snapshot mode and enhance debugging

- Changed GoReleaser execution argument from '--debug' to '--snapshot' for improved release management.
- Added GORELEASER_DEBUG environment variable to enable detailed logging during the release process.
- Introduced GORELEASER_CURRENT_TAG environment variable to capture the current version tag, enhancing visibility in the workflow.
pull/122/head v0.0.26
煎饼果子卷鲨鱼辣椒 5 months ago
parent
commit
3050a6c0ad
  1. 4
      .github/workflows/auto-tag-release.yml

4
.github/workflows/auto-tag-release.yml

@ -156,7 +156,7 @@ jobs:
with:
distribution: goreleaser
version: latest
args: release --clean --timeout 60m --debug
args: release --clean --timeout 60m --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.get_latest_tag.outputs.version }}
@ -166,6 +166,8 @@ jobs:
GOROOT: ${{ env.GOROOT }}
GOCACHE: ${{ github.workspace }}/.cache/go-build
GOMODCACHE: ${{ github.workspace }}/go/pkg/mod
GORELEASER_DEBUG: 1
GORELEASER_CURRENT_TAG: ${{ steps.get_latest_tag.outputs.version }}
# 添加错误检查步骤
- name: Check GoReleaser Output

Loading…
Cancel
Save