Skip to content

Commit

Permalink
Fix brew bump-formula-pr command
Browse files Browse the repository at this point in the history
The formula now uses a URL and SHA of the .zip package.
  • Loading branch information
Ivan Mirić authored and salem84 committed Feb 3, 2021
1 parent 44483b1 commit d16fd15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ jobs:
env:
VERSION: ${{ needs.configure.outputs.version }}
steps:
- name: Download source code archive
run: curl -fsSL "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/archive/${VERSION}.tar.gz" -o "${VERSION}.tar.gz"
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@2eb78889a50ba021d744837934f1af2d8c4458ec
- name: Create version bump PR
run: brew bump-formula-pr k6 --tag="$VERSION" --revision="$GITHUB_SHA"
run: brew bump-formula-pr k6 --url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/archive/${VERSION}.tar.gz" \
--sha256="$(shasum -a 256 ${VERSION}.tar.gz | cut -d' ' -f1)"

0 comments on commit d16fd15

Please sign in to comment.