Skip to content

Commit 440fcb5

Browse files
authored
Update 25.3 ci (#276)
* 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 059a374 commit 440fcb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
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}"

0 commit comments

Comments
 (0)