Skip to content

Commit

Permalink
ci: Release Waku on Scoop (#124)
Browse files Browse the repository at this point in the history
Signed-off-by: AlexNg <[email protected]>
  • Loading branch information
caffeine-addictt authored Sep 11, 2024
2 parents 4631d08 + d1ab144 commit f960102
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GITHUB_PAT: ${{ secrets.GH_PAT }}
AUR_PRIVATE_KEY: ${{ secrets.AUR_KEY }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
17 changes: 16 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ brews:
owner: caffeine-addictt
name: homebrew-tap
branch: "waku"
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
token: "{{ .Env.GITHUB_PAT }}"
commit_author:
name: goreleaserbot
email: [email protected]
Expand Down Expand Up @@ -202,6 +202,21 @@ snapcrafts:
confinement: classic
publish: true

scoops:
- repository:
owner: caffeine-addictt
name: scoop-bucket
token: "{{ .Env.GITHUB_PAT }}"
skip_upload: auto
commit_author:
name: goreleaserbot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
directory: bucket
homepage: https://github.com/caffeine-addictt/waku
description: A simple template repository generator. Lets make starting new proejcts feel like a breeze again!
license: AGPL-3.0

release:
ids: [default]
draft: false
Expand Down
2 changes: 1 addition & 1 deletion cmd/global/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package global

// The current app version
const Version = "0.2.3"
const Version = "0.2.4"
7 changes: 7 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ brew tap caffeine-addictt/tap
brew install caffeine-addictt/tap/waku
```

## Scoop

```sh
scoop bucket add caffeine https://github.com/caffeine-addictt/scoop-bucket.git
scoop install <name>
```

## Choco

```ps1
Expand Down

0 comments on commit f960102

Please sign in to comment.