Skip to content

Commit

Permalink
Try branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
Baltoli committed Nov 3, 2023
1 parent efbd3fa commit 2b94700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
-Dmaven.wagon.httpconnectionManager.ttlSeconds=30
run: |
PACKAGE=kframework
VERSION=${{ github.event.pull_request.head.sha }}
VERSION="$GITHUB_HEAD_REF"
echo ${VERSION}
cd homebrew-k
../kframework/package/macos/brew-update-to-local ${PACKAGE} ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion package/macos/brew-update-to-local
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh -exu
package="$1" ; shift
version="$1" ; shift
sed -i "" -e 's!^ tag: ".*"$! revision: "'${version}'"!' \
sed -i "" -e 's!^ tag: ".*"$! branch: "'${version}'"!' \
-e 's!^ url! head!' \
Formula/$package.rb

0 comments on commit 2b94700

Please sign in to comment.