Skip to content

Commit

Permalink
Update to use GoReleaser v2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stknohg committed Feb 11, 2025
1 parent d5a2b1a commit 934893c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ builds:
- -w -s
- -X "github.com/stknohg/ec2rdp/cmd.cmdVersion={{.Version}}"
archives:
- format: tar.gz
- formats: [tar.gz]
# this name template makes the OS and Arch compatible with the results of uname.
name_template: >-
{{ .ProjectName }}-
Expand All @@ -30,22 +30,21 @@ archives:
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
- goos: windows
formats: [zip]
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort:
sort:
filters:
exclude:
- '^docs:'
- '^test:'
- '^fix.{0,1}$'
- "^docs:"
- "^test:"
- "^fix.{0,1}$"
brews:
-
description: "Remote Desktop Utility for Amazon EC2."
- description: "Remote Desktop Utility for Amazon EC2."
homepage: "https://github.com/stknohg/ec2rdp"
license: "MIT"
directory: Formula
Expand All @@ -55,8 +54,7 @@ brews:
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
scoops:
-
description: "Remote Desktop Utility for Amazon EC2."
- description: "Remote Desktop Utility for Amazon EC2."
homepage: "https://github.com/stknohg/ec2rdp"
license: "MIT"
directory: bucket
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Prerequisites

* [Go](https://go.dev/) 1.23
* [GoReleaser](https://goreleaser.com/) 2.2.0+
* [GoReleaser](https://goreleaser.com/) 2.7.0+

## How to build

Expand Down

0 comments on commit 934893c

Please sign in to comment.