Skip to content

Commit

Permalink
support sub release version > 9 (microsoft#5170)
Browse files Browse the repository at this point in the history
J-shang authored Oct 20, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a74fa40 commit f39b811
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -113,6 +113,7 @@
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
4 changes: 2 additions & 2 deletions pipelines/release.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions pipelines/templates/stage-filter.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f39b811

Please sign in to comment.