Skip to content

Commit

Permalink
ci(goreleaser): fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pinglin committed Oct 14, 2023
1 parent 839b857 commit 141b571
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
instill base:
instill cli:
- "**"
5 changes: 1 addition & 4 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ jobs:
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
args: release --clean
env:
# release
GITHUB_TOKEN: ${{ secrets.botGitHubToken }}
GORELEASER_CURRENT_TAG: ${{ steps.changelog.outputs.tag-name }}
# secrets
INSTILL_OAUTH_CLIENT_ID: ${{ secrets.oauth2ClientId }}
INSTILL_OAUTH_CLIENT_SECRET: ${{ secrets.oauth2ClientSecret }}
7 changes: 4 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
- go mod download

builds:
- <<: &build_defaults
Expand Down Expand Up @@ -62,7 +62,6 @@ snapshot:
name_template: "{{ incpatch .Version }}-next"

changelog:
use: github
sort: asc
groups:
- title: Features
Expand All @@ -71,9 +70,11 @@ changelog:
- title: "Bug fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: Others
order: 999

brews:
- tap:
- repository:
owner: instill-ai
name: homebrew-tap
description: Instill AI's command-line tool
Expand Down

0 comments on commit 141b571

Please sign in to comment.