Skip to content

Commit

Permalink
chore: release to use branch instead of tag for commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dylankelly authored Oct 16, 2024
1 parent dcf1ef0 commit ff50cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ jobs:
if: ${{ !github.event.release.prerelease }}
run: |
git add .
git commit -m "chore: release ${{ !github.event.release.name }}"
git commit -m "chore: release ${{ github.event.release.name }}"
- name: Push changes
if: ${{ !github.event.release.prerelease }}
run: |
git push origin ${{ github.ref }} # Pushes back to the same branch
git push origin ${{ github.event.release.target_commitish }} # Pushes back to target branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit ff50cf2

Please sign in to comment.