Skip to content

Commit

Permalink
Drop knative- prefix before call download_release_artifacts.sh (knati…
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 authored Aug 29, 2022
1 parent b8c3e86 commit 6d0b6c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openshift/release/generate-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ output_file="openshift/release/knative-serving-${release}.yaml"
resolve_resources "config/core/ config/hpa-autoscaling/" "$output_file"

if [[ "$release" != "ci" ]]; then
# Drop the "knative-" suffix, which is added in upstream branch.
# e.g. knative-v1.7.0 => v1.7.0
release=${release#"knative-"}
${root}/download_release_artifacts.sh $release
fi

0 comments on commit 6d0b6c8

Please sign in to comment.