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