Skip to content

Commit 11c1e64

Browse files
authored
fix: use short-commit-hash to create brew PR (#29)
1 parent ee68d27 commit 11c1e64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,15 @@ jobs:
6161

6262
- name: Prepare Homebrew formula
6363
run: |
64-
ref=${{ github.ref }}
65-
tag=${ref#refs/tags/}
6664
cp ./dist/homebrew/Formula/snmcp.rb homebrew-streamnative/Formula/snmcp.rb
6765
6866
- name: Create Homebrew PR
6967
uses: peter-evans/create-pull-request@v3
7068
with:
7169
token: ${{ secrets.SNBOT_GITHUB_TOKEN }}
7270
path: homebrew-streamnative
73-
branch: snmcp/${{ env.tag }}
71+
branch: snmcp/release
72+
branch-suffix: short-commit-hash
7473
title: Update snmcp to ${{ env.tag }}
7574
body: Automated changes by Release workflow in streamnative/streamnative-mcp-server repository.
7675
delete-branch: true

0 commit comments

Comments
 (0)