Skip to content

Commit

Permalink
ci: update goreleaser config (#362)
Browse files Browse the repository at this point in the history
Signed-off-by: zhuwenxing <[email protected]>
  • Loading branch information
zhuwenxing authored Jun 14, 2024
1 parent 3423592 commit 161a593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.18
cache: true
Expand All @@ -29,14 +29,15 @@ jobs:
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
version: '~> v2'
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GITHUB_HOMEBREW_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}

dockerhub:
runs-on: ubuntu-latest
needs: goreleaser
steps:
- uses: actions/checkout@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
Expand Down Expand Up @@ -36,7 +37,7 @@ snapshot:

brews:
- name: milvus-backup
folder: Formula
directory: Formula
homepage: "https://github.com/zilliztech/milvus-backup"
repository:
owner: zilliztech
Expand Down

0 comments on commit 161a593

Please sign in to comment.