28 lines
992 B
Bash
Executable File
28 lines
992 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# release.md
|
|
####################################
|
|
cat << EOF > content/en/releases/release.md
|
|
---
|
|
title: Kubernetes Release Cycle
|
|
type: docs
|
|
auto_generated: true
|
|
---
|
|
<!-- THIS CONTENT IS AUTO-GENERATED via https://github.com/kubernetes/website/blob/main/scripts/releng/update-release-info.sh -->
|
|
|
|
{{% pageinfo color="light" %}}
|
|
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).
|
|
{{% /pageinfo %}}
|
|
<!-- Localization note: omit the pageinfo block when localizing -->
|
|
|
|
EOF
|
|
|
|
curl --retry 3 https://raw.githubusercontent.com/kubernetes/community/master/contributors/devel/sig-release/release.md >> content/en/releases/release.md
|
|
|
|
printf "\nDone" 1>&2
|
|
printf "\n" 1>&2 # ensure a new line
|
|
|
|
printf "You should now 'git add -p' the changes to %q.\n" content/en/releases/release.md
|
|
printf "Some changes require manual checking.\n"
|