From 58497ca02e0ebe8679700b6e54eb72b22a7bbd8e Mon Sep 17 00:00:00 2001 From: Anirban Ray <39331844+yarnabrina@users.noreply.github.com> Date: Sun, 7 Apr 2024 01:47:52 +0530 Subject: [PATCH] split creation and change (#42) --- .github/workflows/bump.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 4f27b62..016cd6d 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -35,18 +35,18 @@ jobs: shell: bash - id: branch-step-identifier name: create new branch - run: git switch --create bump-package-version + run: git branch bump-branch-name shell: bash - id: bump-step-identifier name: bump package version env: GIT_AUTHOR_NAME: ${{ secrets.GIT_USER_NAME }} GIT_AUTHOR_EMAIL: ${{ secrets.GIT_USER_EMAIL }} - run: bump-my-version bump ${{ inputs.semantic-version-identifier }} + run: git switch bump-branch-name && bump-my-version bump ${{ inputs.semantic-version-identifier }} shell: bash - id: pull-request-step-identifier name: create new pull-request env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh pr create --base main --fill --head bump-package-version --label maintenance --label bump-package + run: gh pr create --base main --fill --head bump-branch-name --label maintenance --label bump-package shell: bash