diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3b773d..c4a3a0b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,14 +68,16 @@ jobs: - name: Install Happy DOM run: npm install happy-dom@${{ needs.check-next-version.outputs.next_version }} - - - name: Push changes + + - name: Configures Git run: | git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" - git add . - git commit -m "Release ${{ needs.check-next-version.outputs.next_version }}" - git push + + - name: Creates release branch + run: | + git checkout -b release/${{ needs.check-next-version.outputs.next_version }} origin/main + git push origin release/${{ needs.check-next-version.outputs.next_version }} - name: Prepare run: npm run prepare