Skip to content

Commit 0d26880

Browse files
committed
fix the channel name
1 parent cc325f4 commit 0d26880

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.werft/jobs/build/self-hosted-upgrade-tests.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ export async function triggerUpgradeTests(werft: Werft, config: JobConfig, usern
6969
}
7070

7171
export async function triggerSelfHostedPreview(werft: Werft, config: JobConfig, username: string) {
72-
const replicatedChannel = config.replicatedChannel || config.repository.branch;
72+
const channel = config.replicatedChannel || config.repository.branch;
7373
const cluster = config.cluster || "k3s";
7474

75+
const replicatedChannel = channel.replace("/", "-")
76+
7577
exec(`git config --global user.name "${username}"`);
7678
var annotation = `-a channel=${replicatedChannel} -a preview=true -a skipTests=true -a deps=external`;
7779

0 commit comments

Comments
 (0)