From 38bcc15fa5656567da0a1bad9dd3988f98946f76 Mon Sep 17 00:00:00 2001 From: John Calderon <81483067+johncalesp@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:49:19 -0400 Subject: [PATCH] changed create release branch step (#58) --- .github/workflows/build-and-publish-new-version.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: |