Fix controller_version helper func

Signed-off-by: Hidde Beydals <hello@hidde.co>
pull/983/head
Hidde Beydals 4 years ago
parent a0d4530cc0
commit 89c46a6379

@ -16,7 +16,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
controller_version() { controller_version() {
sed -n "s/.*$1\/archive\/\(.*\).zip.*/\1/p;n" manifests/bases/$1/kustomization.yaml sed -n "s/.*$1\/releases\/download\/\(.*\)\/.*/\1/p;n" manifests/bases/$1/kustomization.yaml
} }
{ {

Loading…
Cancel
Save