-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,11 @@ jobs: | |
env: | ||
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_TOKEN }} | ||
run: | | ||
export HOMEBREW_PREFIX=$(brew --prefix) | ||
export REPO_PATH=$(brew --prefix)/Homebrew/Library/Taps/xo/homebrew-xo | ||
brew update | ||
brew tap xo/xo | ||
git config --file $HOMEBREW_PREFIX/Library/Taps/xo/homebrew-xo/.git/config user.name 'Kenneth Shaw' | ||
git config --file $HOMEBREW_PREFIX/Library/Taps/xo/homebrew-xo/.git/config user.email '[email protected]' | ||
git config --file $REPO_PATH/.git/config user.name 'Kenneth Shaw' | ||
git config --file $REPO_PATH/.git/config user.email '[email protected]' | ||
brew bump-formula-pr \ | ||
--no-audit \ | ||
--no-browse \ | ||
|
@@ -27,6 +27,6 @@ jobs: | |
--message="Update usql formula to ${{ github.ref_name }}" \ | ||
--url="https://github.com/xo/usql/archive/${{ github.ref_name }}.tar.gz" \ | ||
xo/xo/usql | ||
cd $HOMEBREW_PREFIX/Library/Taps/xo/homebrew-xo | ||
cd $REPO_PATH | ||
git remote set_url origin "https://kenshaw:${{ secrets.HOMEBREW_TOKEN }}@github.com/xo/homebrew-xo.git" | ||
git push origin master |