Skip to content

Commit 1ed5274

Browse files
committed
Adds Github workflow to update homebrew formula in pvsadm tap repository on release
1 parent 496a0cc commit 1ed5274

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-homebrew-formula.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
3535
GH_TOKEN: ${{ steps.app-token.outputs.token }}
3636
run: |
37-
RELEASE_VERSION=${{ github.event.release.tag_name#v }}
37+
RELEASE_VERSION=${{ github.event.release.tag_name }}
38+
RELEASE_VERSION=${RELEASE_VERSION#v}
3839
BASE_REPO_URL="https://github.com/${GITHUB_REPOSITORY}"
3940
BREW_TAP_REPO_URL="https://github.com/ppc64le-cloud/homebrew-pvsadm"
4041
FORMULA_FILE="pvsadm.rb"

0 commit comments

Comments
 (0)