Skip to content

Commit abf4c52

Browse files
committed
ci: update release process to improve versioning and cleanup steps
- Set GoReleaser version to semver '~> v2' instead of 'latest' - Change release argument from '--clear' to '--clean' Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent 89d89d6 commit abf4c52

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
with:
2929
# either 'goreleaser' (default) or 'goreleaser-pro'
3030
distribution: goreleaser
31-
version: latest
32-
args: release --clear
31+
# 'latest', 'nightly', or a semver
32+
version: '~> v2'
33+
args: release --clean
3334
env:
3435
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)