-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
124 additions
and
32 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# .goreleaser.yaml | ||
before: | ||
hooks: | ||
- go mod tidy | ||
builds: | ||
- binary: 'vfox' | ||
main: './cmd' | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
goarch: | ||
- "386" | ||
- amd64 | ||
- arm | ||
- arm64 | ||
- ppc64 | ||
goarm: | ||
- "7" | ||
ignore: | ||
- goos: windows | ||
goarch: arm | ||
mod_timestamp: "{{ .CommitTimestamp }}" | ||
flags: | ||
- -trimpath | ||
ldflags: | ||
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser -X main.treeState={{ .IsGitDirty }} | ||
|
||
checksum: | ||
name_template: "checksums.txt" | ||
|
||
changelog: | ||
sort: asc | ||
use: github | ||
filters: | ||
exclude: | ||
- "^test:" | ||
- "^chore" | ||
- "merge conflict" | ||
- Merge pull request | ||
- Merge remote-tracking branch | ||
- Merge branch | ||
- go mod tidy | ||
groups: | ||
- title: Dependency updates | ||
regexp: '^.*?(feat|fix)\(deps\)!?:.+$' | ||
order: 300 | ||
- title: "New Features" | ||
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$' | ||
order: 100 | ||
- title: "Security updates" | ||
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$' | ||
order: 150 | ||
- title: "Bug fixes" | ||
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$' | ||
order: 200 | ||
- title: "Documentation updates" | ||
regexp: ^.*?doc(\([[:word:]]+\))??!?:.+$ | ||
order: 400 | ||
- title: "Build process updates" | ||
regexp: ^.*?build(\([[:word:]]+\))??!?:.+$ | ||
order: 400 | ||
- title: Other work | ||
order: 9999 | ||
|
||
brews: | ||
- name: 'vfox' | ||
repository: | ||
owner: aooohan | ||
name: vfox-homebrew-tap | ||
token: "{{ .Env.HOMEBREW_TOKEN }}" | ||
folder: Formula | ||
goarm: "7" | ||
homepage: https://github.com/aooohan/version-fox | ||
description: A cross-platform SDK version manager with a simple cli. | ||
url_template: "https://github.com/aooohan/version-fox/releases/download/{{ .Tag }}/{{ .ArtifactName }}" | ||
license: "Apache-2.0" | ||
commit_author: | ||
name: lihan | ||
email: [email protected] | ||
dependencies: | ||
- name: go | ||
type: optional | ||
- name: git | ||
test: | | ||
system "#{bin}/vfox version" | ||
winget: | ||
- name: vfox | ||
publisher: lihan | ||
license: 'Apache-2.0' | ||
homepage: https://github.com/aooohan/version-fox | ||
short_description: A cross-platform SDK version manager with a simple cli. | ||
repository: | ||
owner: aooohan | ||
name: vfox-winget-pkgs | ||
branch: "vfox-{{.Version}}" | ||
pull_request: | ||
enabled: true | ||
draft: true | ||
base: | ||
owner: microsoft | ||
name: winget-pkgs | ||
branch: master | ||
|
||
release: | ||
name_template: "v{{ .Version }}" | ||
footer: | | ||
**Full Changelog**: https://github.com/aooohan/version-fox/compare/{{ .PreviousTag }}...{{ if .IsNightly }}nightly{{ else }}{{ .Tag }}{{ end }} |
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