Skip to content

Commit

Permalink
chore: update .goreleaser.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit Charolia committed Jul 20, 2023
1 parent c87afe8 commit e7cefe9
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
project_name: argocd
project_name: goenv

before:
hooks:
- go mod download

builds:
- main: ./main.go
binary: goenv-{{ .Os}}-{{ .Arch}}
binary: goenv
ldflags: -linkmode external -extldflags -static
env:
- CGO_ENABLED=1
Expand All @@ -15,6 +15,12 @@ builds:
goarch:
- amd64

archives:
- id: goenv
name_template: |-
{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}
format: binary

checksum:
name_template: 'goenv_checksums.txt'
algorithm: sha256
Expand All @@ -25,7 +31,7 @@ release:
header: |
## Quick Installation
**Download**: https://raw.githubusercontent.com/ankitcharolia/goenv//releases/tag/{{.Tag}}
**Download**: https://github.com/ankitcharolia/goenv/releases/tag/{{.Tag}}
footer: |
**Full Changelog**: https://github.com/ankitcharolia/goenv/compare/{{ .PreviousTag }}...{{ .Tag }}
Expand All @@ -36,6 +42,21 @@ changelog:
github
sort: asc
abbrev: 0
groups: # Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax.
- title: 'Features'
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: 'Bug fixes'
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 200
- title: 'Documentation'
regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
order: 300
- title: 'Dependency updates'
regexp: '^.*?(feat|fix|chore)\(deps?.+\)!?:.+$'
order: 400
- title: 'Other work'
order: 999
filters:
exclude:
- '^*.json:'

0 comments on commit e7cefe9

Please sign in to comment.