Skip to content

Commit 3e811d6

Browse files
committed
prow.sh: fix "on-master" prow jobs
The recent introduction of version_to_git broke Prow jobs with CSI_PROW_KUBERNETES_VERSION=latest because that version was first converted to "master" and then once more to "vmaster". The second call must be idempotent because "master" is already a branch name.
1 parent 9f10459 commit 3e811d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: prow.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ version_to_git () {
7171
version="$1"
7272
shift
7373
case "$version" in
74-
latest) echo "master";;
74+
latest|master) echo "master";;
7575
release-*) echo "$version";;
7676
*) echo "v$version";;
7777
esac

0 commit comments

Comments
 (0)