Skip to content

Commit

Permalink
fix ticket number in Bump gitstream-core
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaKav committed Jun 26, 2024
1 parent 3fadf49 commit 03f5fa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bump-gitstream-core.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# install new gitstream-core version and open PR with new changes
name: Bump gitstream-core
run-name: Bump gitstream-core to `${{ inputs.version }}`
run-name: Bump `gitstream-core` to `${{ inputs.version }}`

on:
workflow_dispatch:
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Set version to ENV
run: |
echo "VERSION=${{ inputs.version }}" >> "$GITHUB_ENV"
echo "BRANCH_NAME=${{ inputs.version }}-bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV"
echo "BRANCH_NAME=${{ inputs.ticket }}-bump-gitstream-core-to-${{ inputs.version }}" >> "$GITHUB_ENV"
- name: Init npmrc
run: |
Expand All @@ -46,7 +46,7 @@ jobs:
git config --global user.name 'GitHub Actions Bot'
git config --global user.email '[email protected]'
git add package.json package-lock.json dist/index.js
git commit -m "bump `@linearb/gitstream-core` to `${{ env.VERSION }}\n${{ inputs.descritpion }}`"
git commit -m "bump `@linearb/gitstream-core` to `${{ env.VERSION }}`" -m "${{ inputs.descritpion }}"
git push origin HEAD:${{ env.BRANCH_NAME }}
gh pr create \
--base v2-develop \
Expand Down

0 comments on commit 03f5fa9

Please sign in to comment.