Skip to content

Commit 98e5a3d

Browse files
obayclaude
andcommitted
chore: migrate to GoReleaser v2 conventions
- Update archives.format to formats (array syntax) - Migrate brews to homebrew_casks for CLI distribution - Update README Homebrew install to use --cask flag - Update LICENSE copyright year to 2025 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e8f7aae commit 98e5a3d

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

.goreleaser.yaml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ builds:
3636

3737
archives:
3838
- id: default
39-
format: tar.gz
39+
formats:
40+
- tar.gz
4041
name_template: >-
4142
{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
4243
format_overrides:
4344
- goos: windows
44-
format: zip
45+
formats:
46+
- zip
4547
files:
4648
- LICENSE*
4749
- README*
@@ -60,24 +62,21 @@ changelog:
6062
- Merge pull request
6163
- Merge branch
6264

63-
brews:
65+
homebrew_casks:
6466
- name: hevycli
6567
repository:
6668
owner: obay
6769
name: homebrew-tap
6870
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
69-
directory: Formula
71+
directory: Casks
7072
homepage: "https://github.com/obay/hevycli"
7173
description: "CLI for the Hevy fitness tracking platform"
72-
license: "MIT"
74+
binaries:
75+
- hevycli
7376
commit_author:
7477
name: goreleaserbot
7578
email: bot@goreleaser.com
76-
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
77-
install: |
78-
bin.install "hevycli"
79-
test: |
80-
system "#{bin}/hevycli", "--version"
79+
commit_msg_template: "Brew cask update for {{ .ProjectName }} version {{ .Tag }}"
8180

8281
scoops:
8382
- name: hevycli

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Ahmad Obay
3+
Copyright (c) 2025 Ahmad Obay
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A powerful command-line interface for the [Hevy](https://www.hevyapp.com/) fitne
2222
### Homebrew (macOS/Linux)
2323

2424
```bash
25-
brew install obay/tap/hevycli
25+
brew install --cask obay/tap/hevycli
2626
```
2727

2828
### Scoop (Windows)

0 commit comments

Comments
 (0)