Skip to content

Commit

Permalink
fix: remove git stuff because we're not smart enough to use it
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh authored Oct 4, 2022
1 parent 5d2a913 commit 6cd8715
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,3 @@ runs:
git tag -a v${{ steps.release-please.outputs.major }}.${{ steps.release-please.outputs.minor }} -m "Release v${{ steps.release-please.outputs.major }}.${{ steps.release-please.outputs.minor }}"
git push origin v${{ steps.release-please.outputs.major }}
git push origin v${{ steps.release-please.outputs.major }}.${{ steps.release-please.outputs.minor }}
- name: 🔄 Rebase
shell: bash
if: ${{ github.ref_name == 'main' && steps.release-please.outputs.release_created }}
run: |
git checkout -b dev --track origin/dev || true # succeeds if there is an existing remote dev branch
git checkout -b dev || true # succeeds if there is no remote dev branch
git pull --rebase --prune || true
git rebase main
git pull --rebase --prune || true
git push -u origin dev

0 comments on commit 6cd8715

Please sign in to comment.