|
|
|
@ -149,27 +149,27 @@
|
|
|
|
|
- name: Create Release
|
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
|
with:
|
|
|
|
|
draft: true
|
|
|
|
|
generate_release_notes: true
|
|
|
|
|
files: |
|
|
|
|
|
./${{ env.BINARY }}-*/*.tar.gz
|
|
|
|
|
./${{ env.BINARY }}-*/*.zip
|
|
|
|
|
|
|
|
|
|
homebrew:
|
|
|
|
|
name: Bump Homebrew Formula
|
|
|
|
|
needs: create-release
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
steps:
|
|
|
|
|
- uses: mislav/bump-homebrew-formula-action@v2
|
|
|
|
|
if: !github.event.release.prerelease
|
|
|
|
|
with:
|
|
|
|
|
create-pullrequest: true
|
|
|
|
|
formula-name: ${{ env.BINARY }}
|
|
|
|
|
formula-path: Formula/${{ env.BINARY }}.rb
|
|
|
|
|
homebrew-tap: sgoudham/homebrew-tap
|
|
|
|
|
download-url: https://github.com/sgoudham/${{ env.BINARY }}/releases/download/${{ github.ref_name }}/${{ env.BINARY }}-x86_64-apple-darwin.tar.gz
|
|
|
|
|
commit-message: |
|
|
|
|
|
{{formulaName}} -> {{version}}
|
|
|
|
|
|
|
|
|
|
Created by https://github.com/mislav/bump-homebrew-formula-action
|
|
|
|
|
env:
|
|
|
|
|
COMMITTER_TOKEN: ${{ secrets.HOMEBREW }}
|
|
|
|
|
# homebrew:
|
|
|
|
|
# name: Bump Homebrew Formula
|
|
|
|
|
# needs: create-release
|
|
|
|
|
# runs-on: ubuntu-22.04
|
|
|
|
|
# steps:
|
|
|
|
|
# - uses: mislav/bump-homebrew-formula-action@v2
|
|
|
|
|
# with:
|
|
|
|
|
# create-pullrequest: true
|
|
|
|
|
# formula-name: ${{ env.BINARY }}
|
|
|
|
|
# formula-path: Formula/${{ env.BINARY }}.rb
|
|
|
|
|
# homebrew-tap: sgoudham/homebrew-tap
|
|
|
|
|
# download-url: https://github.com/sgoudham/${{ env.BINARY }}/releases/download/${{ github.ref_name }}/${{ env.BINARY }}-x86_64-apple-darwin.tar.gz
|
|
|
|
|
# commit-message: |
|
|
|
|
|
# {{formulaName}} -> {{version}}
|
|
|
|
|
|
|
|
|
|
# Created by https://github.com/mislav/bump-homebrew-formula-action
|
|
|
|
|
# env:
|
|
|
|
|
# COMMITTER_TOKEN: ${{ secrets.HOMEBREW }}
|