Skip to content

Commit e1e2f1c

Browse files
committed
ci: further simplify to get this to release
1 parent ff8f6ee commit e1e2f1c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ jobs:
4848
- name: helm package chart
4949
run: |-
5050
PKG_VER=${GITHUB_REF_NAME#v}
51-
sed -e "s/^appVersion:.*/appVersion: ${PKG_VER}/" -i charts/cert-manager-webhook-rackspace/Chart.yaml
52-
helm package charts/cert-manager-webhook-rackspace
53-
- name: helm push chart
54-
run: |
55-
helm push "cert-manager-webhook-rackspace*.tgz" "oci://ghcr.io/$GITHUB_REPOSITORY"
51+
sed \
52+
-e "s/^appVersion:.*/appVersion: ${PKG_VER}/" \
53+
-e "s/^version:.*/version: ${PKG_VER}/" \
54+
-i charts/cert-manager-webhook-rackspace/Chart.yaml
55+
helm package -u -d . charts/cert-manager-webhook-rackspace
56+
helm push cert-manager-webhook-rackspace-${PKG_VER}.tgz "oci://ghcr.io/$GITHUB_REPOSITORY"
5657

0 commit comments

Comments
 (0)