Browse Source

fix: generate manifests with the correct version (#2341)

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Moritz Johner 2 years ago
parent
commit
cd91168322
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/release.yml

+ 5 - 1
.github/workflows/release.yml

@@ -132,7 +132,11 @@ jobs:
         run: make docker.promote
         run: make docker.promote
 
 
       - name: Build release manifests
       - name: Build release manifests
-        run: make manifests
+        run: |
+          # temporarily patch the version so we generate manifests with the new version
+          yq e -i '.version = "${{ github.event.inputs.version }}"' ./deploy/charts/external-secrets/Chart.yaml
+          yq e -i '.appVersion = "${{ github.event.inputs.version }}"' ./deploy/charts/external-secrets/Chart.yaml
+          make manifests
 
 
       - name: Sign promoted image
       - name: Sign promoted image
         id: sign
         id: sign