1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #755 from marquiz/fixes/scripts

scripts/prepare-release: fix upating of readme
This commit is contained in:
Kubernetes Prow Robot 2022-01-25 07:58:31 -08:00 committed by GitHub
commit a33dd9e17d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,9 @@ if [ -z "$assets_only" ]; then
# Patch README
echo Patching README.md to refer to $release
sed s"!node-feature-discovery/v.*/!node-feature-discovery/$release/!" -i README.md
sed -e s"!\(node-feature-discovery/deployment/.*\)=v.*!\1=$release!" \
-e s"!^\[documentation\]:.*![documentation]: https://kubernetes-sigs.github.io/node-feature-discovery/$docs_version!" \
-i README.md
# Patch deployment templates
echo Patching kustomize templates to use $container_image