Skip to content

Commit

Permalink
[dev-v2.10] auto bump fix for multi-line n.4 (#5099)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasSUSE authored Feb 5, 2025
1 parent f85b00d commit 00ad218
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/auto-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ jobs:
echo "make chart-bump package=${{ env.CHART }} branch=${{ env.BRANCH }}"
last_line=$(make chart-bump package="${{ env.CHART }}" branch="${{ env.BRANCH }}" | tail -n 1)
echo "new_version=$last_line" >> $GITHUB_ENV
echo "new_versoin: ${{ env.new_version }}"
echo "new_version (in make step): $last_line" # For debugging in this step
- name: Echo new_version (separate step)
run: |
echo "new_version (in echo step): ${{ env.new_version }}"
- name: Git status
run: |
Expand Down Expand Up @@ -77,4 +80,4 @@ jobs:
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
gh pr create --base ${{ env.BRANCH }} --head "auto-bump_${{ env.CHART }}" --title "[${{ env.BRANCH }}] auto: ${{ env.CHART }} ${{ env.new_version }}" --body-file './github/auto_bump_template.md'
gh pr create --base ${{ env.BRANCH }} --head "auto-bump_${{ env.CHART }}" --title "[${{ env.BRANCH }}] auto: ${{ env.CHART }} ${{ env.new_version }}" --body-file '.github/auto_bump_template.md'

0 comments on commit 00ad218

Please sign in to comment.