Skip to content

Commit

Permalink
Merge pull request #760 from k8s-infra-cherrypick-robot/cherry-pick-7…
Browse files Browse the repository at this point in the history
…55-to-release-0.10

[release-0.10] scripts/prepare-release: fix upating of readme
  • Loading branch information
k8s-ci-robot authored Jan 25, 2022
2 parents e810400 + ffc13c4 commit ed57f9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed57f9e

Please sign in to comment.