Skip to content

Commit 1a7c98f

Browse files
authored
fix the workflow for updating the README file (#3825)
1 parent f77dbd1 commit 1a7c98f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/update-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
tagstmpfile=$(mktemp)
1919
readmetmpfile=$(mktemp)
2020
gh api graphql -F owner='rancher' -F name='rke' -f query='query($name: String!, $owner: String!) {repository(owner: $owner, name: $name) {releases(first: 100) {nodes { tagName }}}}' |jq -r .data.repository.releases[] > $tagstmpfile
21-
for rke_major_minor in 1.5 1.4 1.3; do
21+
for rke_major_minor in 1.8 1.7 1.6; do
2222
latest=$(jq -r 'first(.[] | select(.tagName | startswith("v'"${rke_major_minor}"'")) | select(.tagName | contains("rc") | not) | .tagName)' $tagstmpfile)
2323
if [ -n "${latest}" ]; then
2424
echo "* v${rke_major_minor}" >> $readmetmpfile

README-template.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Rancher Kubernetes Engine, an extremely simple, lightning fast Kubernetes installer that works everywhere.
66

7+
## 🚨 Important Notice: RKE End of Life Announcement
8+
9+
> Rancher Kubernetes Engine (RKE) is reaching its **end of life**. **Version 1.8** will be the final release in the RKE 1.x series. We strongly recommend migrating to Rancher's newer Kubernetes distribution, RKE2, to stay supported, secure, and take advantage of the latest features and updates. For more details, please refer to the official [SUSE EOL article](https://www.suse.com/support/kb/doc/?id=000021513).
10+
711
## Latest Release
812

913
## Download

0 commit comments

Comments
 (0)