Skip to content

Commit

Permalink
🏹 mommy patches homebrew and aur during tests~
Browse files Browse the repository at this point in the history
  • Loading branch information
FWDekker committed Nov 29, 2023
1 parent 0724409 commit 8813dbf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ jobs:
echo "::endgroup::"
echo "::group::Commit changes"
git add --all
git config --global user.name "FWDekkerBot"
git config --global user.email "[email protected]"
git commit -am "🔖 mommy added package mommy $MOMMY_VERSION~"
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
repository: FWDekker/homebrew-mommy
path: homebrew-mommy
ref: dev
- name: Patch homebrew-mommy
working-directory: homebrew-mommy
run: |
# Point the formula to the commit that is being tested in this workflow
sed -i -e "s|head \(.*\), branch: .*|head \1, revision: \"${{ github.sha }}\"|g" mommy.rb
git -c user.name="ignore" -c user.email="ignore" commit -am "ignore"
- name: Test Homebrew package
run: |
echo "::group::Enable Homebrew"
Expand Down Expand Up @@ -163,7 +169,7 @@ jobs:
working-directory: ./aur-mommy/
run: |
echo "::group::Patch"
sudo -u build ./update.sh dev
sudo -u build ./update.sh "${{ github.sha }}"
echo "::endgroup::"
echo "::group::Build and install"
Expand Down Expand Up @@ -312,6 +318,12 @@ jobs:
repository: FWDekker/homebrew-mommy
path: homebrew-mommy
ref: dev
- name: Patch homebrew-mommy
working-directory: homebrew-mommy
run: |
# Point the formula to the commit that is being tested in this workflow
sed -i -e "s|head \(.*\), branch: .*|head \1, revision: \"${{ github.sha }}\"|g" mommy.rb
git -c user.name="ignore" -c user.email="ignore" commit -am "ignore"
- name: Test Homebrew package
run: |
echo "::group::Enable Homebrew"
Expand Down

0 comments on commit 8813dbf

Please sign in to comment.