We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 354c6a4 commit 012057fCopy full SHA for 012057f
.gitlab-ci.yml
@@ -138,7 +138,7 @@ publish_docs:
138
script:
139
- echo "Pushing docs live to https://docs.nvidia.com/datacenter/cloud-native"
140
- |+
141
- if [[ "${CI_COMMIT_REF_NAME}" =~ (.+)-v([0-9]+\.[0-9]+\.[0-9]+) ]]; then
+ if [[ "${CI_COMMIT_REF_NAME}" =~ (.+)-v([0-9]+\.[0-9]+(\.[a-zA-Z0-9]+)?) ]]; then
142
export DOCSET="${BASH_REMATCH[1]}"
143
export VERSION="${BASH_REMATCH[2]}"
144
fi
@@ -148,7 +148,7 @@ publish_docs:
148
exit 1
149
150
151
- if [[ "${CI_COMMIT_MESSAGE}" =~ $'\n/not-latest\n' ]]; then
+ if [[ "${CI_COMMIT_MESSAGE}" =~ $'/not-latest\n' ]]; then
152
export FORCE_LATEST=false
153
154
- echo "Publishing docs for ${DOCSET} and version ${VERSION}"
0 commit comments