Skip to content

Commit

Permalink
Add support for scoop
Browse files Browse the repository at this point in the history
  • Loading branch information
adambabik committed Jul 21, 2022
1 parent 3cb900a commit 9b53dbb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
# SCOOP_BUCKET_GITHUB_TOKEN: ${{ secrets.SCOOP_BUCKET_GITHUB_TOKEN }}
SCOOP_BUCKET_GITHUB_TOKEN: ${{ secrets.SCOOP_BUCKET_GITHUB_TOKEN }}
-
name: Copy to latest
if: env.pre_release == 'false'
Expand Down
24 changes: 12 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ nfpms:
- apk
- rpm

# scoop:
# url_template: "https://download.stateful.com/stateful-cli/{{ .Version }}/{{ .ArtifactName }}"
# bucket:
# owner: stateful
# name: scoop-bucket
# token: "{{ .Env.SCOOP_BUCKET_GITHUB_TOKEN }}"
# commit_author:
# name: release-bot
# email: [email protected]
# homepage: "https://stateful.com"
# description: "Execute code snippets directly from Markdown files."
# skip_upload: auto
scoop:
url_template: "https://download.stateful.com/stateful-cli/{{ .Version }}/{{ .ArtifactName }}"
bucket:
owner: stateful
name: scoop-bucket
token: "{{ .Env.SCOOP_BUCKET_GITHUB_TOKEN }}"
commit_author:
name: release-bot
email: [email protected]
homepage: "https://stateful.com"
description: "Execute code snippets directly from Markdown files."
skip_upload: auto

0 comments on commit 9b53dbb

Please sign in to comment.