Skip to content

Commit ad9dfc9

Browse files
dextercodoclaude
andcommitted
Fix GoReleaser deprecation warnings
- Migrate archives.format to formats list syntax - Migrate archives.format_overrides.format to formats list syntax - Migrate brews to homebrew_casks with Casks directory 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent aae43f8 commit ad9dfc9

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.goreleaser.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ builds:
2525

2626
archives:
2727
- id: default
28-
format: tar.gz
28+
formats:
29+
- tar.gz
2930
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3031
format_overrides:
3132
- goos: windows
32-
format: zip
33+
formats:
34+
- zip
3335

3436
checksum:
3537
name_template: "checksums.txt"
@@ -52,13 +54,11 @@ release:
5254
prerelease: auto
5355
name_template: "v{{ .Version }}"
5456

55-
brews:
57+
homebrew_casks:
5658
- repository:
5759
owner: codoworks
5860
name: homebrew-tap
59-
directory: Formula
61+
directory: Casks
6062
homepage: "https://github.com/codoworks/sshto"
6163
description: "Fast SSH connection manager with interactive TUI"
6264
license: "MIT"
63-
test: |
64-
system "#{bin}/sshto", "--help"

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.0] - 2025-12-14
11+
12+
### Changed
13+
14+
- Migrate from `brews` to `homebrew_casks` in GoReleaser (deprecation fix)
15+
- Update `archives.format` to `archives.formats` list syntax (deprecation fix)
16+
1017
## [0.1.0] - 2025-12-14
1118

1219
### Added
@@ -25,5 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2532
- GitHub Actions release workflow triggered on version tags
2633
- Homebrew tap support via `brew tap codoworks/tap && brew install sshto`
2734

28-
[Unreleased]: https://github.com/codoworks/sshto/compare/v0.1.0...HEAD
35+
[Unreleased]: https://github.com/codoworks/sshto/compare/v0.2.0...HEAD
36+
[0.2.0]: https://github.com/codoworks/sshto/compare/v0.1.0...v0.2.0
2937
[0.1.0]: https://github.com/codoworks/sshto/releases/tag/v0.1.0

0 commit comments

Comments
 (0)