Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Aug 22, 2024
1 parent 33afcb8 commit d7a41f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/bump-version-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,16 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}

- name: Create `version-bump` branch
- name: Create PR branch
run: |
if [[ "${{ inputs.type }}" == "hotfix" ]]; then
VERSION=${{ inputs.version }}
PR_BRANCH="${{ inputs.type }}/${{ inputs.light-client }}-v${{ inputs.version }}"
else
VERSION=$BASE_VERSION
PR_BRANCH="version-bump"
fi
git checkout -b $PR_BRANCH
echo "VERSION=$VERSION" | tee -a $GITHUB_ENV
Expand Down

0 comments on commit d7a41f6

Please sign in to comment.