mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2025-06-08 12:32:06 +08:00
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.
This commit is contained in:
parent
c41ade9b88
commit
3050a6c0ad
4
.github/workflows/auto-tag-release.yml
vendored
4
.github/workflows/auto-tag-release.yml
vendored
@ -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…
x
Reference in New Issue
Block a user