Skip to content

Commit

Permalink
Fix: Remove or replace deprecations for GoReleaser config
Browse files Browse the repository at this point in the history
Remove deprecated replacements
Replace deprecated brews tap
Replace deprecated scoop entries
Fix name_template to reflect exact current naming conventions
  • Loading branch information
Michael Christenson II committed Nov 13, 2023
1 parent ff1bd0a commit e26e4cd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/auth0
/test/integration/identifiers
coverage*
/dist

# Swap
[._]*.s[a-v][a-z]
Expand Down
37 changes: 16 additions & 21 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ builds:
- -X 'github.com/auth0/auth0-cli/internal/buildinfo.BuildDate={{.Date}}'
- -X 'github.com/auth0/auth0-cli/internal/instrumentation.SentryDSN={{.Env.SENTRY_DSN}}'
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ if eq .Arch "arm64" }}arm64{{ else }}x86_64{{ end }}'
files:
- none*
format_overrides:
Expand All @@ -37,7 +32,7 @@ changelog:
skip: true
brews:
- name: auth0
tap:
repository:
owner: auth0
name: homebrew-auth0-cli
commit_author:
Expand All @@ -54,17 +49,17 @@ brews:
(fish_completion/"auth0.fish").write `#{bin}/auth0 completion fish`
(zsh_completion/"_auth0").write `#{bin}/auth0 completion zsh`
caveats: "Thanks for installing the Auth0 CLI"
scoop:
name: auth0
bucket:
owner: auth0
name: scoop-auth0-cli
commit_author:
name: auth0
email: [email protected]
commit_msg_template: "Scoop manifest update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://auth0.github.io/auth0-cli
description: Build, manage and test your Auth0 integrations from the command line
license: MIT
skip_upload: auto
post_install: ["Write-Host 'Thanks for installing the Auth0 CLI'"]
scoops:
- name: auth0
repository:
owner: auth0
name: scoop-auth0-cli
commit_author:
name: auth0
email: [email protected]
commit_msg_template: "Scoop manifest update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://auth0.github.io/auth0-cli
description: Build, manage and test your Auth0 integrations from the command line
license: MIT
skip_upload: auto
post_install: ["Write-Host 'Thanks for installing the Auth0 CLI'"]

0 comments on commit e26e4cd

Please sign in to comment.