diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d745cc..4f96965 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 562bd23..f53177a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,13 +12,13 @@ builds: - darwin - windows goarch: - - 386 + - "386" - amd64 - arm - arm64 goarm: - - 6 - - 7 + - "6" + - "7" main: . binary: rcon-cli env: @@ -26,17 +26,12 @@ builds: 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: @@ -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