Skip to content

Commit

Permalink
fix goreleaser issue
Browse files Browse the repository at this point in the history
Signed-off-by: dahu.kdh <[email protected]>
  • Loading branch information
DahuK committed Oct 25, 2024
1 parent cbfbc21 commit 6297fa9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
build:
permissions:
id-token: write # This is required for requesting the JWT
contents: write # for goreleaser/goreleaser-action to create a GitHub release
name: Release notation-alibabacloud.secretmanager.plugin binaries
runs-on: ubuntu-20.04
Expand All @@ -26,7 +27,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: '1.20'
env:
GOPATH: ${{ env.HOME }}
- name: Set GoReleaser Previous Tag To Be Last Non Weekly Release
Expand Down Expand Up @@ -54,4 +55,4 @@ jobs:
./cputil --endpoint=oss-cn-hangzhou.aliyuncs.com \
--bucket '${{ secrets.OSS_BUCKET_NAME }}' \
--objectdir '${{ secrets.OSS_OBJECT_DIR }}/${{ github.ref_name }}' \
dist/notation-alibabacloud-secretmanager*.tar.gz dist/checksums.txt
dist/notation-alibabacloud-secret-manager*.tar.gz dist/checksums.txt
8 changes: 6 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ archives:
- goos: windows
format: zip

checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- '^docs:'
- '^test:'

0 comments on commit 6297fa9

Please sign in to comment.