Skip to content

Commit

Permalink
fix(release): fix path to semgrep homebrew formula (semgrep#8475)
Browse files Browse the repository at this point in the history
Homebrew changed its formulae folder structure so we need to change our
path

Test plan: nightly verification for release

PR checklist:

- [x] Purpose of the code is [evident to future
readers](https://semgrep.dev/docs/contributing/contributing-code/#explaining-code)
- [x] Tests included or PR comment includes a reproducible test plan
- [x] Documentation is up-to-date
- [x] A changelog entry was [added to
changelog.d](https://semgrep.dev/docs/contributing/contributing-code/#adding-a-changelog-entry)
for any user-facing change
- [x] Change has no security implications (otherwise, ping security
team)

If you're unsure about any of this, please see:

- [Contribution
guidelines](https://semgrep.dev/docs/contributing/contributing-code)!
- [One of the more specific guides located
here](https://semgrep.dev/docs/contributing/contributing/)
  • Loading branch information
emjin authored Aug 17, 2023
1 parent 400da6c commit b176597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Cron to verify that the Homebrew Core Formula Works.
# This formula is stored in https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/semgrep.rb
# This formula is stored in https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/s/semgrep.rb
# and "bumped" in release.yml by dawidd6/action-homebrew-bump-formula@v3
#
# This formula is created by our release process with the PR to homebrew/homebrew-core.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ jobs:
gh auth setup-git
git remote add r2c "${R2C_HOMEBREW_CORE_FORK_HTTPS_URL}"
git checkout -b bump-semgrep-${{ steps.get-version.outputs.VERSION }}
git add Formula/semgrep.rb
git add Formula/s/semgrep.rb
git commit -m "semgrep ${{ steps.get-version.outputs.VERSION }}"
- name: Push Branch to Fork
env:
Expand Down

0 comments on commit b176597

Please sign in to comment.