Skip to content

Commit

Permalink
[release-v1.16] Add update-deps.sh call to generate-release (#1157)
Browse files Browse the repository at this point in the history
* Add update-deps.sh call to generate-release

* Fix typo in comment

---------

Co-authored-by: David Simansky <[email protected]>
  • Loading branch information
openshift-cherrypick-robot and dsimansk authored Feb 5, 2025
1 parent b34ca56 commit 76a8e60
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion openshift/release/generate-release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

root="$(dirname "${BASH_SOURCE[0]}")"
root="$(dirname "${BASH_SOURCE[0]}")"/../..

source $(dirname $0)/resolve.sh

Expand All @@ -9,6 +9,13 @@ release=${release/knative-/}

echo "Release: $release"

# Reconcile dependencies in case of dependabot updates
"${root}"/hack/update-deps.sh
# Re-apply patches that touch vendor/ dir
git apply "${root}"/openshift/patches/001-object.patch
git apply "${root}"/openshift/patches/002-mutemetrics.patch
git apply "${root}"/openshift/patches/003-routeretry.patch

./openshift/generate.sh

readonly YAML_OUTPUT_DIR="openshift/release/artifacts/"
Expand Down

0 comments on commit 76a8e60

Please sign in to comment.