Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
35 changes: 27 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,30 @@ changelog:
# Shows clickable PR links (#123) and usernames (@user)
use: github-native

# Uncomment if you want to publish to a package manager
# brews:
# - name: uaa-cli
# homepage: https://github.com/cloudfoundry/uaa-cli
# description: "A command line client for the CloudFoundry UAA API"
# repository:
# owner: cloudfoundry
# name: homebrew-tap
homebrew_casks:
- name: uaa-cli
homepage: https://github.com/cloudfoundry/uaa-cli
description: "CLI for UAA written in Go"
license: "Apache-2.0"
repository:
owner: cloudfoundry
name: homebrew-tap
branch: master
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
pull_request:
enabled: true
# This will update the existing formula safely
commit_author:
name: cf-identity
email: cf-identity-eng@pivotal.io
commit_msg_template: "Release {{ .ProjectName }} {{ .Tag }}"
# Conflicts with the old formula-based version
conflicts:
- cask: uaa-cli
Comment on lines +79 to +81
# Hooks for post-installation
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/uaa"]
end
Comment thread
duanemay marked this conversation as resolved.
Outdated
Loading