Skip to content

Commit

Permalink
Merge pull request #296 from carapace-sh/fix-release
Browse files Browse the repository at this point in the history
fix release
  • Loading branch information
rsteube authored Sep 3, 2024
2 parents 4a41b80 + 8063e26 commit 6d1ce29
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23.0'

- name: Replace dependency
run: |
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23.0'

- name: Build
run: go build -v ./...
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
Expand Down
23 changes: 13 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod download
Expand Down Expand Up @@ -32,20 +33,22 @@ brews:
description: "define simple completions using a spec file"
homepage: "https://github.com/rsteube/carapace-spec"
license: "MIT"
tap:
repository:
owner: rsteube
name: homebrew-tap
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
scoop:
description: "define simple completions using a spec file"
homepage: "https://github.com/rsteube/carapace-spec"
license: "MIT"
bucket:
owner: rsteube
name: scoop-bucket
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"

scoops:
-
description: "define simple completions using a spec file"
homepage: "https://github.com/rsteube/carapace-spec"
license: "MIT"
repository:
owner: rsteube
name: scoop-bucket
token: "{{ .Env.GORELEASER_GITHUB_TOKEN }}"
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"

aurs:
-
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/carapace-sh/carapace-spec

go 1.22
go 1.23.0

require (
github.com/carapace-sh/carapace v1.1.6
Expand Down

0 comments on commit 6d1ce29

Please sign in to comment.