Skip to content

Commit 7494f77

Browse files
authored
Merge pull request #48838 from sftim/20241125_release_info_script_tweak
Tweak script to update release info page
2 parents b3bb8f6 + d2ac5f5 commit 7494f77

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

content/en/releases/release.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ title: Kubernetes Release Cycle
33
type: docs
44
auto_generated: true
55
---
6+
<!-- THIS CONTENT IS AUTO-GENERATED via https://github.com/kubernetes/website/blob/main/scripts/releng/update-release-info.sh -->
67

7-
<!-- THIS CONTENT IS AUTO-GENERATED via ./scripts/releng/update-release-info.sh in kubernetes/website -->
8+
{{% pageinfo color="light" %}}
9+
This content is auto-generated and links may not function. The source of the document is located
10+
[here](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-release/release.md).
11+
{{% /pageinfo %}}
12+
<!-- Localization note: omit the pageinfo block when localizing -->
813

9-
{{< warning >}}
10-
This content is auto-generated and links may not function. The source of the document is located [here](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-release/release.md).
11-
{{< /warning >}}
12-
13-
# Targeting enhancements, Issues and PRs to Release Milestones
14+
## Targeting enhancements, Issues and PRs to Release Milestones
1415

1516
This document is focused on Kubernetes developers and contributors who need to
1617
create an enhancement, issue, or pull request which targets a specific release

scripts/releng/update-release-info.sh

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,18 @@ auto_generated: true
1010
---
1111
<!-- THIS CONTENT IS AUTO-GENERATED via https://github.com/kubernetes/website/blob/main/scripts/releng/update-release-info.sh -->
1212
13-
{{< warning >}}
14-
This content is auto-generated and links may not function. The source of the document is located [here](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-release/release.md).
15-
{{< /warning >}}
13+
{{% pageinfo color="light" %}}
14+
This content is auto-generated and links may not function. The source of the document is located
15+
[here](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-release/release.md).
16+
{{% /pageinfo %}}
17+
<!-- Localization note: omit the pageinfo block when localizing -->
1618
1719
EOF
1820

1921
curl --retry 3 https://raw.githubusercontent.com/kubernetes/community/master/contributors/devel/sig-release/release.md >> content/en/releases/release.md
22+
23+
printf "\nDone" 1>&2
24+
printf "\n" 1>&2 # ensure a new line
25+
26+
printf "You should now 'git add -p' the changes to %q.\n" content/en/releases/release.md
27+
printf "Some changes require manual checking.\n"

0 commit comments

Comments
 (0)