Skip to content

Commit b834683

Browse files
authored
Update release-24.9 branch (#275)
* Update dropdown to minor-only versions Signed-off-by: Andrew Chen <[email protected]> * Update version in repo.toml /not-latest Signed-off-by: Andrew Chen <[email protected]> * Modify version regex to allow minor-only branches (#274) Signed-off-by: Andrew Chen <[email protected]> --------- Signed-off-by: Andrew Chen <[email protected]>
1 parent 3e7ccbb commit b834683

File tree

4 files changed

+11
-39
lines changed

4 files changed

+11
-39
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ publish_docs:
138138
script:
139139
- echo "Pushing docs live to https://docs.nvidia.com/datacenter/cloud-native"
140140
- |+
141-
if [[ "${CI_COMMIT_REF_NAME}" =~ (.+)-v([0-9]+\.[0-9]+\.[0-9]+) ]]; then
141+
if [[ "${CI_COMMIT_REF_NAME}" =~ (.+)-v([0-9]+\.[0-9]+(\.[a-zA-Z0-9]+)?) ]]; then
142142
export DOCSET="${BASH_REMATCH[1]}"
143143
export VERSION="${BASH_REMATCH[2]}"
144144
fi
@@ -148,7 +148,7 @@ publish_docs:
148148
exit 1
149149
fi
150150
- |+
151-
if [[ "${CI_COMMIT_MESSAGE}" =~ $'\n/not-latest\n' ]]; then
151+
if [[ "${CI_COMMIT_MESSAGE}" =~ $'/not-latest\n' ]]; then
152152
export FORCE_LATEST=false
153153
fi
154154
- echo "Publishing docs for ${DOCSET} and version ${VERSION}"

gpu-operator/versions.json

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,12 @@
11
{
2-
"latest": "25.3.2",
2+
"latest": "25.3",
33
"versions":
44
[
55
{
6-
"version": "25.3.2"
6+
"version": "25.3"
77
},
88
{
9-
"version": "25.3.1"
10-
},
11-
{
12-
"version": "25.3.0"
13-
},
14-
{
15-
"version": "24.9.2"
16-
},
17-
{
18-
"version": "24.9.1"
19-
},
20-
{
21-
"version": "24.9.0"
9+
"version": "24.9"
2210
}
2311
]
2412
}

gpu-operator/versions1.json

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,11 @@
11
[
22
{
33
"preferred": "true",
4-
"url": "../25.3.2",
5-
"version": "25.3.2"
4+
"url": "../25.3",
5+
"version": "25.3"
66
},
77
{
8-
"url": "../25.3.1",
9-
"version": "25.3.1"
10-
},
11-
{
12-
"url": "../25.3.0",
13-
"version": "25.3.0"
14-
},
15-
{
16-
"url": "../24.9.2",
17-
"version": "24.9.2"
18-
},
19-
{
20-
"url": "../24.9.1",
21-
"version": "24.9.1"
22-
},
23-
{
24-
"url": "../24.9.0",
25-
"version": "24.9.0"
8+
"url": "../24.9",
9+
"version": "24.9"
2610
}
27-
]
11+
]

repo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ output_format = "linkcheck"
153153
docs_root = "${root}/gpu-operator"
154154
project = "gpu-operator"
155155
name = "NVIDIA GPU Operator"
156-
version = "24.9.2"
156+
version = "24.9"
157157
source_substitutions = { version = "v24.9.2", recommended = "580.65.06" }
158158
copyright_start = 2020
159159
sphinx_exclude_patterns = [

0 commit comments

Comments
 (0)