Skip to content

Commit

Permalink
GA: fix SALAMI_VERSION and remove event type
Browse files Browse the repository at this point in the history
  • Loading branch information
petrgazarov committed Oct 9, 2023
1 parent e0e5c53 commit e862127
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release_homebrew_tap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Release Homebrew tap
on:
release:
types:
- published
- released

permissions:
Expand Down Expand Up @@ -34,7 +33,7 @@ jobs:
# Can simulate this by cloning petrgazarov/salami & petrgazarov/homebrew-salami to adacent directories
# and running from their parent:
./salami/.github/scripts/generate-homebrew-salami.sh "${SALAMI_VERSION}" > ./homebrew-salami/salami.rb
./salami/.github/scripts/generate-homebrew-salami.sh "${{ github.ref }}" > ./homebrew-salami/salami.rb
- name: Commit updated formula
working-directory: homebrew-salami
run: |
Expand All @@ -46,7 +45,7 @@ jobs:
echo "::group::git diff"
git --no-pager diff
echo "::endgroup::"
git commit -m "Brew formula update for Salami version ${SALAMI_VERSION}"
git commit -m "Brew formula update for Salami version ${{ github.ref }}"
- name: Push formula
working-directory: homebrew-salami
run: |
Expand Down

0 comments on commit e862127

Please sign in to comment.