Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion hack/rebasebot-hook-scripts/generate-ocp-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,15 @@ main(){
exit 1
fi

# Set PROVIDER_VERSION using the REBASEBOT_SOURCE tag, which corresponds to the provider's version number
# Set PROVIDER_VERSION using the REBASEBOT_SOURCE tag, which corresponds to the provider's version number
export PROVIDER_VERSION="${REBASEBOT_SOURCE}"

# Write provider version to a .mk file that can be included by Makefiles
cat > openshift/provider-version.mk <<EOF
# This file is generated by rebasebot. Do not edit.
PROVIDER_VERSION ?= ${PROVIDER_VERSION}
EOF
Comment on lines +35 to +39
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an idiomatic pattern?


pushd openshift
make ocp-manifests
popd
Expand Down