Skip to content

Commit

Permalink
Fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Baltoli committed Nov 2, 2023
1 parent 67dbcd4 commit 1d521ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
echo ${VERSION}
cd homebrew-k
../kframework/package/macos/brew-update-to-local ${PACKAGE} ${VERSION}
cat ./Formula/${PACKAGE}.rb
# brew install --build-from-source --verbose --formula ./Formula/${PACKAGE}.rb
brew install --build-from-source --verbose --formula ./Formula/${PACKAGE}.rb
# ../kframework/package/macos/brew-build-and-update-to-local-bottle ${PACKAGE} ${VERSION} ${ROOT_URL}
# git reset HEAD^
# LOCAL_BOTTLE_NAME=$(basename $(find . -name "kframework--${VERSION}.ventura.bottle*.tar.gz"))
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,5 +1,5 @@
#!/bin/sh -exu
package="$1" ; shift
version="$1" ; shift
sed -i "" -e 's!^ tag ".*"$! revision "'${version}'"!' \
sed -i "" -e 's!^ tag: ".*"$! revision "'${version}'"!' \
Formula/$package.rb

0 comments on commit 1d521ce

Please sign in to comment.