Skip to content

Commit

Permalink
Use gopass-releaser GH PAT for releasing (#1739)
Browse files Browse the repository at this point in the history
RELEASE_NOTES=n/a

Signed-off-by: Dominik Schulz <[email protected]>
  • Loading branch information
dominikschulz authored Jan 20, 2021
1 parent 9f6b31b commit f47e682
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ jobs:
version: latest
args: release --rm-dist --release-notes <(go run helpers/changelog/main.go)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GOPATH: /home/runner/go
78 changes: 39 additions & 39 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,45 +60,45 @@ release:
draft: false
prerelease: auto

#brews:
# - name: gopass
# tap:
# owner: gopasspw
# name: homebrew-gopass
# caveats: |
# Gopass has been installed, have fun!
# If upgrading from `pass`, everything should work as expected.
# If installing from scratch, you need to either initialize a new repository now...
# gopass init
# ...or clone one from a source:
# gopass clone [email protected]:example/pass.git
# In order to use the great autocompletion features (they're helpful with gopass),
# please make sure you have autocompletion for homebrew enabled:
# https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion
# More information:
# https://www.gopass.pw/
# https://github.com/gopasspw/gopass/README.md
# homepage: "https://www.gopass.pw/"
# description: "The slightly more awesome Standard Unix Password Manager for Teams."
# dependencies:
# - git
# - gnupg
# - terminal-notifier
# install: |
# ENV["GOPATH"] = buildpath
# (buildpath/"src/github.com/gopasspw/gopass").install buildpath.children
#
# cd "src/github.com/gopasspw/gopass" do
# ENV["PREFIX"] = prefix
# system "make", "install"
# end
#
# system bin/"gopass completion bash > bash_completion.bash"
# system bin/"gopass completion zsh > zsh_completion.zsh"
# bash_completion.install "bash_completion.bash"
# zsh_completion.install "zsh_completion.zsh"
# test: |
# assert_match version.to_s, shell_output("#{bin}/gopass version")
brews:
- name: gopass
tap:
owner: gopasspw
name: homebrew-gopass
caveats: |
Gopass has been installed, have fun!
If upgrading from `pass`, everything should work as expected.
If installing from scratch, you need to either initialize a new repository now...
gopass init
...or clone one from a source:
gopass clone [email protected]:example/pass.git
In order to use the great autocompletion features (they're helpful with gopass),
please make sure you have autocompletion for homebrew enabled:
https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion
More information:
https://www.gopass.pw/
https://github.com/gopasspw/gopass/README.md
homepage: "https://www.gopass.pw/"
description: "The slightly more awesome Standard Unix Password Manager for Teams."
dependencies:
- git
- gnupg
- terminal-notifier
install: |
ENV["GOPATH"] = buildpath
(buildpath/"src/github.com/gopasspw/gopass").install buildpath.children
cd "src/github.com/gopasspw/gopass" do
ENV["PREFIX"] = prefix
system "make", "install"
end
system bin/"gopass completion bash > bash_completion.bash"
system bin/"gopass completion zsh > zsh_completion.zsh"
bash_completion.install "bash_completion.bash"
zsh_completion.install "zsh_completion.zsh"
test: |
assert_match version.to_s, shell_output("#{bin}/gopass version")
nfpms:
- id: gopass
vendor: Gopass Authors
Expand Down

0 comments on commit f47e682

Please sign in to comment.