Skip to content

Commit e403f0f

Browse files
committed
fixing problems with multi-line
1 parent cc72305 commit e403f0f

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/auto-bump.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
echo "make chart-bump package=${{ env.CHART }} branch=${{ env.BRANCH }}"
3939
last_line=$(make chart-bump package="${{ env.CHART }}" branch="${{ env.BRANCH }}" | tail -n 1)
4040
echo "new_version=$last_line" >> $GITHUB_ENV
41+
echo "${{ env.new_version }}"
4142
4243
4344
- name: Git status
@@ -76,4 +77,23 @@ jobs:
7677
env:
7778
GH_TOKEN: ${{ steps.app-token.outputs.token }}
7879
run: |
79-
gh pr create --base ${{ env.BRANCH }} --head "auto-bump_${{ env.CHART }}" --title "[${{ env.BRANCH }}] auto bump: ${{ env.CHART }} - ${{ env.new_version }}" --body $'This PR auto-bumps the chart version for ${{ env.CHART }} - ${{ env.new_version }}.\n---\n## Review Checklist: \n- [ ] CRDs\n- [ ] templates folder if any\n- [ ] Version \n##### Checkpoints for Chart Bumps \n'\nrelease.yaml`: \n- [ ] Each chart version in release.yaml DOES NOT modify an already released chart. If so, stop and modify the versions so that it releases a net-new chart.\n- [ ] Each chart version in release.yaml IS exactly 1 more patch or minor version than the last released chart version. If not, stop and modify the versions so that it releases a net-new chart.\n\n`Chart.yaml and index.yaml`: \n- [ ] The `index.yaml` file has an entry for your new chart version. \n- [ ] The `index.yaml` entries for each chart matches the `Chart.yaml` for each chart. \n- [ ] Each chart has ALL required annotations \n- kube-version annotation \n- rancher-version annotation \n- permits-os annotation (indicates Windows and/or Linux) \n`
80+
gh pr create --base <span class="math-inline">\{\{ env\.BRANCH \}\} \-\-head "auto\-bump\_</span>{{ env.CHART }}" --title "[${{ env.BRANCH }}] auto bump: ${{ env.CHART }} - ${{ env.new_version }}" --body <<EOF
81+
This PR auto-bumps the chart version for ${{ env.CHART }} - ${{ env.new_version }}.
82+
---
83+
## Review Checklist:
84+
- [ ] CRDs
85+
- [ ] templates folder if any
86+
- [ ] Version
87+
##### Checkpoints for Chart Bumps
88+
`release.yaml`:
89+
- [ ] Each chart version in release.yaml DOES NOT modify an already released chart. If so, stop and modify the versions so that it releases a net-new chart.
90+
- [ ] Each chart version in release.yaml IS exactly 1 more patch or minor version than the last released chart version. If not, stop and modify the versions so that it releases a net-new chart.
91+
92+
`Chart.yaml and index.yaml`:
93+
- [ ] The `index.yaml` file has an entry for your new chart version.
94+
- [ ] The `index.yaml` entries for each chart matches the `Chart.yaml` for each chart.
95+
- [ ] Each chart has ALL required annotations
96+
- kube-version annotation
97+
- rancher-version annotation
98+
- permits-os annotation (indicates Windows and/or Linux)
99+
EOF

0 commit comments

Comments
 (0)