-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support install double-entry-generator via homebrew 🎉 (#64)
* feat: support homebrew 🎉 add `brews` in `goreleaser.yml` chore: ignore building `windows/arm64` use gh app to generate org-scoped access token Signed-off-by: Triple-Z <[email protected]> * doc: add homebrew installation Signed-off-by: Triple-Z <[email protected]> Signed-off-by: Triple-Z <[email protected]>
- Loading branch information
Showing
3 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,34 @@ before: | |
hooks: | ||
- go mod tidy | ||
builds: | ||
- env: | ||
- | ||
id: double-entry-generator | ||
env: | ||
- CGO_ENABLED=0 | ||
binary: double-entry-generator | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
goarch: | ||
- 386 | ||
- amd64 | ||
- arm64 | ||
# List of combinations of GOOS + GOARCH + GOARM to ignore. | ||
ignore: | ||
- goos: darwin | ||
goarch: 386 | ||
- goos: windows | ||
goarch: arm64 | ||
ldflags: | ||
- -s -w -X github.com/deb-sig/double-entry-generator/pkg/version.VERSION={{.Version}} -X github.com/deb-sig/double-entry-generator/pkg/version.REPOROOT=github.com/deb-sig/double-entry-generator -X github.com/deb-sig/double-entry-generator/pkg/version.COMMIT={{.ShortCommit}} | ||
- -s -w | ||
- -X github.com/deb-sig/double-entry-generator/pkg/version.VERSION={{.Version}} | ||
- -X github.com/deb-sig/double-entry-generator/pkg/version.REPOROOT=github.com/deb-sig/double-entry-generator | ||
- -X github.com/deb-sig/double-entry-generator/pkg/version.COMMIT={{.ShortCommit}} | ||
archives: | ||
- replacements: | ||
- | ||
id: double-entry-generator | ||
replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
|
@@ -30,3 +47,26 @@ changelog: | |
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
universal_binaries: | ||
- replace: true | ||
brews: | ||
- | ||
name: double-entry-generator | ||
ids: | ||
- double-entry-generator | ||
tap: | ||
owner: deb-sig | ||
name: homebrew-tap | ||
branch: main | ||
commit_author: | ||
name: TripleZ | ||
email: [email protected] | ||
folder: Formula | ||
homepage: https://github.com/deb-sig/double-entry-generator | ||
description: Rule-based double-entry bookkeeping importer (from Alipay/WeChat/Huobi to Beancount). | ||
license: Apache-2.0 | ||
# skip_upload: auto | ||
caveats: | | ||
Please run `double-entry-generator help` for more help. | ||
test: | | ||
system "#{bin}/double-entry-generator version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters