Skip to content

Commit d088aee

Browse files
authored
fix: wrong chart for pre-upgrade and post-upgrade (#282)
1 parent 188ab38 commit d088aee

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/release-tag-installer-post-upgrade-2-5-1.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
run: |
3030
echo CHART_VERSION:${{ env.CHART_VERSION }}
3131
32-
- name: Replace CHART_VERSION in post-upgrade-2-5-1/Chart.yaml
33-
run: sed -i 's/CHART_VERSION/${{ env.CHART_VERSION }}/g' ./post-upgrade-2-5-1/Chart.yaml
32+
- name: Replace CHART_VERSION in post-upgrade-2-5-1-chart/Chart.yaml
33+
run: sed -i 's/CHART_VERSION/${{ env.CHART_VERSION }}/g' ./post-upgrade-2-5-1-chart/Chart.yaml
3434

3535
# Stage only the chart you want to publish
3636
- name: Prepare charts_dir
3737
run: |
38-
mkdir -p _post-upgrade-2-5-1
39-
cp -R post-upgrade-2-5-1 _post-upgrade-2-5-1/
38+
mkdir -p _post-upgrade-2-5-1-chart
39+
cp -R post-upgrade-2-5-1-chart _post-upgrade-2-5-1-chart/
4040
4141
- name: Publish Helm chart
4242
uses: stefanprodan/helm-gh-pages@master
4343
with:
4444
token: ${{ steps.authenticate.outputs.token }}
45-
charts_dir: _post-upgrade-2-5-1
45+
charts_dir: _post-upgrade-2-5-1-chart
4646
charts_url: https://charts.krateo.io
4747
owner: krateoplatformops
4848
repository: helm-charts

.github/workflows/release-tag-installer-pre-upgrade-2-5-0.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
run: |
3030
echo CHART_VERSION:${{ env.CHART_VERSION }}
3131
32-
- name: Replace CHART_VERSION in pre-upgrade-2-5-0/Chart.yaml
33-
run: sed -i 's/CHART_VERSION/${{ env.CHART_VERSION }}/g' ./pre-upgrade-2-5-0/Chart.yaml
32+
- name: Replace CHART_VERSION in pre-upgrade-2-5-0-chart/Chart.yaml
33+
run: sed -i 's/CHART_VERSION/${{ env.CHART_VERSION }}/g' ./pre-upgrade-2-5-0-chart/Chart.yaml
3434

3535
# Stage only the chart you want to publish
3636
- name: Prepare charts_dir
3737
run: |
38-
mkdir -p _pre-upgrade-2-5-0
39-
cp -R pre-upgrade-2-5-0 _pre-upgrade-2-5-0/
38+
mkdir -p _pre-upgrade-2-5-0-chart
39+
cp -R pre-upgrade-2-5-0-chart _pre-upgrade-2-5-0-chart/
4040
4141
- name: Publish Helm chart
4242
uses: stefanprodan/helm-gh-pages@master
4343
with:
4444
token: ${{ steps.authenticate.outputs.token }}
45-
charts_dir: _pre-upgrade-2-5-0
45+
charts_dir: _pre-upgrade-2-5-0-chart
4646
charts_url: https://charts.krateo.io
4747
owner: krateoplatformops
4848
repository: helm-charts

.github/workflows/release-tag-installer-pre-upgrade-2-5-1.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ jobs:
2929
run: |
3030
echo CHART_VERSION:${{ env.CHART_VERSION }}
3131
32-
- name: Replace CHART_VERSION in pre-upgrade-2-5-1/Chart.yaml
33-
run: sed -i 's/CHART_VERSION/${{ env.CHART_VERSION }}/g' ./pre-upgrade-2-5-1/Chart.yaml
32+
- name: Replace CHART_VERSION in pre-upgrade-2-5-1-chart/Chart.yaml
33+
run: sed -i 's/CHART_VERSION/${{ env.CHART_VERSION }}/g' ./pre-upgrade-2-5-1-chart/Chart.yaml
3434

3535
# Stage only the chart you want to publish
3636
- name: Prepare charts_dir
3737
run: |
38-
mkdir -p _pre-upgrade-2-5-1
39-
cp -R pre-upgrade-2-5-1 _pre-upgrade-2-5-1/
38+
mkdir -p _pre-upgrade-2-5-1-chart
39+
cp -R pre-upgrade-2-5-1-chart _pre-upgrade-2-5-1-chart/
4040
4141
- name: Publish Helm chart
4242
uses: stefanprodan/helm-gh-pages@master
4343
with:
4444
token: ${{ steps.authenticate.outputs.token }}
45-
charts_dir: _pre-upgrade-2-5-1
45+
charts_dir: _pre-upgrade-2-5-1-chart
4646
charts_url: https://charts.krateo.io
4747
owner: krateoplatformops
4848
repository: helm-charts

0 commit comments

Comments
 (0)