Skip to content

Commit

Permalink
Automate brew update after release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi committed Oct 20, 2023
1 parent 25615f6 commit fefde9d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Release test

on:
workflow_dispatch:
inputs:
tag-name:
description: 'The git tag name to bump the formula to'
required: true
pull_request:
branches:
- main

jobs:
homebrew-release-1:
Expand All @@ -15,8 +13,9 @@ jobs:
- name: Set output
id: vars
run: |
echo "tag=${${{ github.event.inputs.tag-name }}/refs\/tags\//}" >> $GITHUB_OUTPUT
echo "version=${${{ github.event.inputs.tag-name }}/refs\/tags\/v/}" >> $GITHUB_OUTPUT
tttt=refs/tags/v0.3.1
echo "tag=${tttt/refs\/tags\//}" >> $GITHUB_OUTPUT
echo "version=${tttt/refs\/tags\/v/}" >> $GITHUB_OUTPUT
- uses: mislav/bump-homebrew-formula-action@v3
with:
Expand Down

0 comments on commit fefde9d

Please sign in to comment.