Skip to content

Commit 8921d64

Browse files
committed
Updates to use Brew Formula
1 parent a727571 commit 8921d64

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

.goreleaser.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ archives:
3535
{{- if .Arm }}v{{ .Arm }}{{ end -}}
3636
wrap_in_directory: true
3737

38-
homebrew_casks:
38+
brews:
3939
- name: tfx
4040
ids:
4141
- tfx
42-
binaries:
43-
- tfx
44-
directory: Casks
42+
directory: Formula
4543
skip_upload: "{{ .IsSnapshot }}"
4644
repository:
4745
owner: straubt1
@@ -51,9 +49,10 @@ homebrew_casks:
5149
commit_author:
5250
name: goreleaserbot
5351
email: bot@goreleaser.com
54-
commit_msg_template: "brew: update tfx cask to {{ .Tag }}"
52+
commit_msg_template: "brew: update tfx formula to {{ .Tag }}"
5553
homepage: "https://tfx.rocks/"
5654
description: "TFx is a standalone CLI tool for HCP Terraform and Terraform Enterprise."
55+
license: "MIT"
5756

5857
nfpms:
5958
- id: tfx

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ c, err := client.NewFromViper() // reads Viper config/flags
172172

173173
## Release Process
174174

175-
Releases are automated via goreleaser and GitHub Actions. The release workflow triggers on a new git tag and publishes binaries, a Docker image (GHCR), Linux packages (apk/deb/rpm), and a Homebrew cask update to `straubt1/homebrew-tap`.
175+
Releases are automated via goreleaser and GitHub Actions. The release workflow triggers on a new git tag and publishes binaries, a Docker image (GHCR), Linux packages (apk/deb/rpm), and a Homebrew formula update to `straubt1/homebrew-tap`.
176176

177177
### Prerequisites (one-time setup)
178178

@@ -196,7 +196,7 @@ Before confirming, update `CHANGELOG.md` with release notes for the new version.
196196
task release-dry-run
197197
```
198198

199-
Runs `goreleaser release --snapshot --clean --skip=announce,validate` — builds all artifacts without requiring a tag. The Homebrew cask is generated and written to `dist/` (not pushed to the tap) because `skip_upload: "{{ .IsSnapshot }}"` is set in `.goreleaser.yml`. Goreleaser v2 may emit 2 informational `dockers_v2` warnings; these are a known goreleaser quirk and can be ignored.
199+
Runs `goreleaser release --snapshot --clean --skip=announce,validate` — builds all artifacts without requiring a tag. The Homebrew formula is generated and written to `dist/` (not pushed to the tap) because `skip_upload: "{{ .IsSnapshot }}"` is set in `.goreleaser.yml`. Goreleaser v2 may emit 2 informational `dockers_v2` warnings; these are a known goreleaser quirk and can be ignored.
200200

201201
### Version Numbering
202202

ROADMAP.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ New commands and capabilities for users.
1515
- [ ] Download workspace plan as JSON
1616
- [ ] Plan export command
1717
- [ ] Update `tfx organization` and `tfx project show` to include agent pool settings
18+
- [ ] Look at brew cask and Apple developer license
1819

1920
### Under Consideration
2021

Taskfile.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ tasks:
8080
echo " Next : ${NEXT_TAG}"
8181
echo ""
8282
echo " Will execute:"
83-
echo " git add CHANGELOG.md"
84-
echo " git commit -m \"chore: release ${NEXT_TAG}\""
8583
echo " git tag ${NEXT_TAG}"
8684
echo " git push && git push --tags"
8785
echo ""
@@ -99,8 +97,6 @@ tasks:
9997
fi
10098
10199
# Execute
102-
git add CHANGELOG.md
103-
git commit -m "chore: release ${NEXT_TAG}"
104100
git tag "${NEXT_TAG}"
105101
git push && git push --tags
106102

0 commit comments

Comments
 (0)