diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index 5fd67c2370..58daa04e2a 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -59,7 +59,7 @@ jobs: # Create pull request export GH_TOKEN=${{ secrets.GITHUB_TOKEN }} gh pr create --base ${{ steps.get-default-branch.outputs.default-branch }} --head $NEW_BRANCH --title "Update CPACK_PACKAGE_VERSION_MAJOR to $new_version_major" --body "Auto-generated PR to update CPACK_PACKAGE_VERSION_MAJOR" - + git reset --hard HEAD~1 - name: Prepare release branch and set pre-release to 0 run: |