Skip to content

Commit

Permalink
feat: release also shopware brew
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Jan 13, 2025
1 parent c594dfe commit be22373
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ jobs:
scope: FriendsOfShopware/homebrew-tap
identity: release

- uses: octo-sts/action@v1.0.0
id: sts-shopware
with:
scope: shopware/homebrew-tap
identity: release

- uses: octo-sts/action@v1.0.0
id: sts-nur
with:
Expand All @@ -64,6 +70,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.sts-homebrew.outputs.token }}
HOMEBREW_TAP_GITHUB_TOKEN_SHOPWARE: ${{ steps.sts-shopware.outputs.token }}
NUR_GITHUB_TOKEN: ${{ steps.sts-nur.outputs.token }}
AUR_KEY: ${{ secrets.AUR_KEY }}

Expand Down
25 changes: 25 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -392,3 +392,28 @@ brews:
bash_completion.install "completions/shopware-cli.bash" => "_shopware-cli"
zsh_completion.install "completions/shopware-cli.zsh" => "_shopware-cli"
fish_completion.install "completions/shopware-cli.fish"
- repository:
owner: shopware
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN_SHOPWARE }}"
commit_author:
name: Frosh Automation
email: ci@fos.gg
goarm: "7"
homepage: https://shopware.com
description: Shopware CLI helps Shopware developers manage extensions
license: MIT
directory: Formula
test: |
system "#{bin}/shopware-cli --version"
dependencies:
- name: node-sass
- name: git
type: optional
- name: node
type: optional
install: |-
bin.install "shopware-cli"
bash_completion.install "completions/shopware-cli.bash" => "_shopware-cli"
zsh_completion.install "completions/shopware-cli.zsh" => "_shopware-cli"
fish_completion.install "completions/shopware-cli.fish"

0 comments on commit be22373

Please sign in to comment.