diff --git a/.github/workflows/build-and-publish-new-version.yml b/.github/workflows/build-and-publish-new-version.yml index 35a7025..8ce4d3f 100644 --- a/.github/workflows/build-and-publish-new-version.yml +++ b/.github/workflows/build-and-publish-new-version.yml @@ -30,7 +30,9 @@ jobs: - name: Create release branch run: | - git branch release/${{ github.event.inputs.tag }} + git checkout -b release/${{ github.event.inputs.tag }} + git fetch + git branch --set-upstream-to=origin/main release/${{ github.event.inputs.tag }} - name: Update version number run: |