Skip to content

Commit

Permalink
build: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ChecksumDev committed Jul 18, 2024
1 parent b47c548 commit 4b07c1b
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,19 @@ jobs:
- name: Run bundle
run: bun run bundle

- name: Commit bundle results
if: github.event_name == 'pull_request'
run: |
git config --global user.email "[email protected]"
git config --global user.name "BeatForge CI"
# Check if there are any changes
if [ -n "$(git status --porcelain)" ]; then
git add .
git commit -m "chore: bundle update"
git push origin HEAD:${{ github.event.pull_request.head.ref }}
else
echo "No changes to commit"
fi
- name: Commit bundle results
if: github.event_name == 'pull_request'
run: |
git config --global user.email "[email protected]"
git config --global user.name "BeatForge CI"
# Check if there are any changes
if [ -n "$(git status --porcelain)" ]; then
git add .
git commit -m "chore: bundle update"
git push origin HEAD:${{ github.event.pull_request.head.ref }}
else
echo "No changes to commit"
- name: Release Please
uses: google-github-actions/release-please-action@v3
Expand Down

0 comments on commit 4b07c1b

Please sign in to comment.