Update version number from 1.13.7
to 1.13.8
for branch prepare_v1…
#59
Workflow file for this run
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
name: Auto Bump Homebrew formula | |
on: | |
push: | |
tags: 'v*' | |
workflow_dispatch: | |
inputs: | |
tag-name: | |
description: 'The git tag name to bump the formula to' | |
required: true | |
jobs: | |
homebrew: | |
name: Bump Homebrew formula | |
runs-on: ubuntu-latest | |
steps: | |
- name: Extract version | |
id: extract-version | |
run: | | |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}" | |
- uses: mislav/bump-homebrew-formula-action@v2 | |
if: "!contains(github.ref, '-')" # skip prereleases | |
with: | |
formula-name: starcoin | |
formula-path: Formula/starcoin.rb | |
homebrew-tap: starcoinorg/homebrew-starcoin | |
base-branch: master | |
download-url: https://github.com/starcoinorg/starcoin/releases/download/${{ steps.extract-version.outputs.tag-name }}/starcoin-macos-latest.zip | |
commit-message: | | |
{{formulaName}} {{version}} | |
Created by https://github.com/mislav/bump-homebrew-formula-action | |
env: | |
COMMITTER_TOKEN: ${{ secrets.BUMP_FORMULA_TOKEN }} | |
# GITHUB_TOKEN: ${{ secrets.BUMP_FORMULA_TOKEN }} |