diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index b8b7b97..e33da36 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -47,3 +47,11 @@ jobs: echo "NEW_VERSION=$NEW_VERSION" >> "$GITHUB_ENV" echo "TAG_NEW_VERSION=$TAG_NEW_VERSION" >> "$GITHUB_ENV" + - name: 'Create new release branch' + run: | + NEW_BRANCH="release-$NEW_VERSION" + + git checkout -b "$NEW_BRANCH" + echo "Created new release branch: $NEW_BRANCH" + + echo "NEW_BRANCH=$NEW_BRANCH" >> "$GITHUB_ENV"