Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dxcdt-615-goreleaser-upgrade #909

Merged
merged 4 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
m3talsmith marked this conversation as resolved.
Show resolved Hide resolved

# 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 }}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use {{ title .Os }} instead of {{ .Os }} to get it to produce "Darwin" instead of "darwin", to match the current pattern?

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: support@auth0.com
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: support@auth0.com
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'"]
Loading