-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
versionize the include directory in definitions.md and operations.md #16217
Conversation
GCE e2e/unit/integration build/test failed for commit 6cca6d1e115b116bfc912f222345affd618703d2. |
@k8s-bot test this please |
GCE e2e/unit/integration build/test failed for commit 6cca6d1e115b116bfc912f222345affd618703d2. |
Labelling this PR as size/S |
Jenkins seems to be broken again:
|
Sorry about failing tests. I broke e2e job trying to add in unit/integration. Should be working now. @k8s-bot test this |
GCE e2e test build/test passed for commit 6cca6d1e115b116bfc912f222345affd618703d2. |
@@ -60,6 +62,9 @@ for doc in "${mdfiles[@]}"; do | |||
# Replace /HEAD in html preview links with /NEW_VERSION. | |||
$SED -ri -e "s|(${HTML_PREVIEW_PREFIX}/HEAD)|${HTML_PREVIEW_PREFIX}/${NEW_VERSION}|" "${doc}" | |||
|
|||
# Replace <REPLACE-WITH-RELEASE-VERSION> with NEW_VERSION | |||
$SED -ri -e "s|${DIRCTORY_KEY_WORDS}|${NEW_VERSION}|" "${doc}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add "|g" at the end (for replace all occurrences).
I am doing that at other places in this file in my PR.
de4595f
to
413d7b5
Compare
@nikhiljindal Update. PTAL. Thanks. |
@@ -45,6 +48,8 @@ echo "+++ Versioning documentation and examples" | |||
|
|||
# Update the docs to match this version. | |||
HTML_PREVIEW_PREFIX="https://htmlpreview.github.io/\?https://github.com/kubernetes/kubernetes" | |||
# Update the include directory in definitions.md and operations.md. | |||
DIRCTORY_KEY_WORDS="<REPLACE-WITH-RELEASE-VERSION>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/DIRCTORY/DIRECTORY
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed. Thanks.
LGTM, I'll go look for the gh-pages half of this now |
413d7b5
to
45b0917
Compare
GCE e2e test build/test passed for commit 298ed10e67741bc41ddf661b02b20623dfe20457. |
GCE e2e test build/test passed for commit 413d7b52d40dee9179bb6f922c8ccdcac18e90e1. |
PR changed after LGTM, removing LGTM. |
GCE e2e test build/test passed for commit 45b0917. |
Shippable is a flake |
I'm adding back the lgtm. @nikhiljindal please remove it if you find more problems. Thanks. |
LGTM |
@k8s-oncall can I manually merge this? The merge-bot isn't picking this |
versionize the include directory in definitions.md and operations.md
…#16217-upstream-release-1.1 Auto commit by PR queue bot
…y-pick-of-#16217-upstream-release-1.1 Auto commit by PR queue bot
…y-pick-of-#16217-upstream-release-1.1 Auto commit by PR queue bot
#16213 needs this PR.
I will update the release-1.1 branch manually after #16057 is merged.