From 141b57152c957a86d2890eca07d598ba597a2abd Mon Sep 17 00:00:00 2001 From: Ping-Lin Chang Date: Fri, 13 Oct 2023 23:19:04 +0100 Subject: [PATCH] ci(goreleaser): fix setup --- .github/labeler.yml | 2 +- .github/workflows/releases.yml | 5 +---- .goreleaser.yml | 7 ++++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index d544cf6..bd03ad1 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,2 @@ -instill base: +instill cli: - "**" diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index bcf689e..0379678 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -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 }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 0d10602..4b42803 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 @@ -62,7 +62,6 @@ snapshot: name_template: "{{ incpatch .Version }}-next" changelog: - use: github sort: asc groups: - title: Features @@ -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