Skip to content

Commit

Permalink
build: addressed goreleaser deprecations (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg authored Jun 26, 2023
1 parent e6be45d commit 82a8270
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SCOOP_BUCKET_GITHUB_TOKEN: ${{ secrets.SCOOP_BUCKET_GITHUB_TOKEN }}
29 changes: 12 additions & 17 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,26 @@ builds:
- darwin
- windows
goarch:
- 386
- "386"
- amd64
- arm
- arm64
goarm:
- 6
- 7
- "6"
- "7"
main: .
binary: rcon-cli
env:
- CGO_ENABLED=0
archives:
-
format: tar.gz
rlcp: true
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
changelog:
filters:
exclude:
Expand Down Expand Up @@ -79,11 +74,11 @@ docker_manifests:
- "itzg/rcon-cli:{{ .Version }}-amd64"
- "itzg/rcon-cli:{{ .Version }}-arm64"
- "itzg/rcon-cli:{{ .Version }}-armv7"
scoop:
bucket:
owner: itzg
name: scoop-bucket
token: "{{ .Env.SCOOP_BUCKET_GITHUB_TOKEN }}"
folder: bucket
license: Apache2
description: Enables REST-like access to HTML pages by scraping and parsing them into JSON
scoops:
- bucket:
owner: itzg
name: scoop-bucket
token: "{{ .Env.SCOOP_BUCKET_GITHUB_TOKEN }}"
folder: bucket
license: Apache2
description: Enables REST-like access to HTML pages by scraping and parsing them into JSON

0 comments on commit 82a8270

Please sign in to comment.