зеркало из https://github.com/microsoft/nni.git
support sub release version > 9 (#5170)
This commit is contained in:
Родитель
a74fa40d0b
Коммит
f39b811cd7
|
@ -113,6 +113,7 @@ linkcheck_ignore = [
|
|||
r'https://www\.openml\.org/', # OpenML
|
||||
r'https://ml\.informatik\.uni-freiburg\.de/',
|
||||
r'https://docs\.nvidia\.com/deeplearning/',
|
||||
r'https://cla\.opensource\.microsoft\.com',
|
||||
]
|
||||
|
||||
# Ignore all links located in release.rst
|
||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
echo $(NNI_RELEASE)
|
||||
export BRANCH_TAG=`git describe --tags --abbrev=0`
|
||||
echo $BRANCH_TAG
|
||||
if [[ $BRANCH_TAG == v$(NNI_RELEASE) && $(NNI_RELEASE) =~ ^[0-9](.[0-9])+$ ]]; then
|
||||
if [[ $BRANCH_TAG == v$(NNI_RELEASE) && $(NNI_RELEASE) =~ ^[0-9](.(0|[1-9][0-9]*))+$ ]]; then
|
||||
echo 'Build version match branch tag'
|
||||
else
|
||||
echo 'Build version does not match branch tag'
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
- script: |
|
||||
echo $(build_type)
|
||||
echo $(NNI_RELEASE)
|
||||
if [[ $(NNI_RELEASE) =~ ^[0-9](.[0-9])+(a|b|rc)[0-9]$ ]]; then
|
||||
if [[ $(NNI_RELEASE) =~ ^[0-9](.(0|[1-9][0-9]*))+(a|b|rc)[0-9]$ ]]; then
|
||||
echo 'Valid prerelease version $(NNI_RELEASE)'
|
||||
echo `git describe --tags --abbrev=0`
|
||||
else
|
||||
|
|
|
@ -6,4 +6,5 @@ steps:
|
|||
- script: |
|
||||
npm install npm@latest -g
|
||||
npx https://github.com/microsoft/azure-pipeline-filter.git
|
||||
name: execution
|
||||
displayName: NPM Install & Filter
|
||||
|
|
Загрузка…
Ссылка в новой задаче