Fix all links to nightly releases (#4519)

Nightly (a.k.a. development) releases are published to knative-nightly,
and do not use the org name. This has not changed since 2019-05-17:
09f2b26361/scripts/release.sh (L96)

Thank you @andersonsoares-tomtom for reporting it via
https://github.com/knative/eventing/issues/5930

Fixes knative/eventing#5930

Signed-off-by: Gerhard Lazu <glazu@vmware.com>
This commit is contained in:
Gerhard Lazu 2021-11-25 11:26:16 +00:00 committed by GitHub
parent ad6446431e
commit 1f1d8b0120
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -27,10 +27,9 @@ def define_env(env):
"""
version = os.environ.get("KNATIVE_VERSION")
if version == None:
return 'https://storage.googleapis.com/{org}-nightly/{repo}/latest/{file}'.format(
return 'https://storage.googleapis.com/knative-nightly/{repo}/latest/{file}'.format(
repo=repo,
file=file,
org=org)
file=file)
else:
return 'https://github.com/{org}/{repo}/releases/download/{version}/{file}'.format(
repo=repo,