Skip to content

Commit c06b3c6

Browse files
committed
Remove packaged helm3 charts before packaging helm2 charts
Otherwise these are included in the helm2 chart tgz
1 parent ed466f0 commit c06b3c6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/helm-charts.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
echo "Restoring Helm2 Chart and replace Helm3 Chart temporary"
5454
[ ! -f helm2.requirements.lock ] || mv helm2.requirements.lock requirements.lock
5555
[ ! -f helm2.requirements.yaml ] || mv helm2.requirements.yaml requirements.yaml
56+
# Removing packaged Helm3 chart version build in the previous step
57+
rm *.tgz
5658
echo "Processing Helm2 Chart in $dir"
5759
helm package --version $RELEASE_VERSION .
5860
NAME=$(yq read - name < Chart.yaml)

0 commit comments

Comments
 (0)