Skip to content

Commit

Permalink
feat(release): add Scoop bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
pskrwe committed Feb 23, 2024
1 parent 892d411 commit efb73a9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TAP_PAT: ${{ secrets.GH_TAP_PAT }}
GH_WINGET_PAT: ${{ secrets.GH_WINGET_PAT }}
GH_SCOOP_PAT: ${{ secrets.GH_SCOOP_PAT }}
NFPM_GIT_AGE_PASSPHRASE: ${{ secrets.NFPM_GIT_AGE_PASSPHRASE }}

- name: Upload RPM packages
Expand Down
19 changes: 17 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ brews:
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
commit_msg_template: "chore: update {{ .ProjectName }} to version {{ .Tag }}"
skip_upload: auto
folder: Formula
dependencies:
Expand All @@ -117,6 +117,21 @@ brews:
pull_request:
enabled: true

scoops:
- commit_msg_template: "chore: update {{ .ProjectName }} to version {{ .Tag }}"
commit_author:
name: goreleaserbot
email: [email protected]
license: "MIT"
depends: ["git"]
repository:
owner: prskr
name: scoop-the-prancing-package
token: "{{ .Env.GH_SCOOP_PAT }}"
pull_request:
enabled: true


winget:
- name: git-age
publisher: prskr
Expand All @@ -132,7 +147,7 @@ winget:
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "{{ .PackageIdentifier }}: {{ .Tag }}"
commit_msg_template: "chore: update {{ .ProjectName }} to version {{ .Tag }}"
license_url: "https://raw.githubusercontent.com/prskr/git-age/main/LICENSE"
release_notes: "{{.Changelog}}"
tags:
Expand Down

0 comments on commit efb73a9

Please sign in to comment.