Skip to content

Commit de42b21

Browse files
author
Elfbot
committed
don't strip the v
Signed-off-by: Elfbot <elfbot@elfhosted.com>
1 parent 5e90d20 commit de42b21

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/helm-controller/ci/latest.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/usr/bin/env bash
22
version=$(curl -sX GET https://api.github.com/repos/fluxcd/helm-controller/releases | jq -r '.[].tag_name' | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n1)
3-
version="${version#*v}"
43
printf "%s" "${version}"

0 commit comments

Comments
 (0)