diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 855685a..f236f89 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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: | @@ -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 ./... @@ -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 }} diff --git a/.goreleaser.yml b/.goreleaser.yml index ec57627..951ef83 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod download @@ -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: - diff --git a/go.mod b/go.mod index bd789f3..cd8d14d 100644 --- a/go.mod +++ b/go.mod @@ -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