Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
8d8fcd28
Unverified
Commit
8d8fcd28
authored
May 25, 2020
by
liuzhe-lz
Committed by
GitHub
May 25, 2020
Browse files
Remove leading letter "v" from version string (#2480)
parent
3aae9d06
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
Makefile
Makefile
+1
-0
deployment/pypi/Makefile
deployment/pypi/Makefile
+2
-0
deployment/pypi/install.ps1
deployment/pypi/install.ps1
+1
-0
No files found.
Makefile
View file @
8d8fcd28
...
...
@@ -60,6 +60,7 @@ NNI_YARN ?= PATH=$(BIN_FOLDER):$${PATH} $(NNI_YARN_FOLDER)/bin/yarn
## Version number
NNI_VERSION_VALUE
=
$(
shell
git describe
--tags
)
NNI_VERSION_VALUE
:=
$(NNI_VERSION_VALUE:v%=%)
NNI_VERSION_TEMPLATE
=
999.0.0-developing
# Main targets
...
...
deployment/pypi/Makefile
View file @
8d8fcd28
...
...
@@ -13,6 +13,7 @@ endif
TIME_STAMP
=
$(
shell
date
-u
"+%y%m%d%H%M"
)
NNI_VERSION_VALUE
=
$(
shell
git describe
--tags
--abbrev
=
0
)
NNI_VERSION_VALUE
:=
$(NNI_VERSION_VALUE:v%=%)
# To include time stamp in version value, run:
# make version_ts=true build
...
...
@@ -25,6 +26,7 @@ NNI_YARN_FOLDER ?= $(CWD)nni-yarn
NNI_YARN
:=
PATH
=
$(CWD)
node-
$(OS_SPEC)
-x64
/bin:
$
${PATH}
$(NNI_YARN_FOLDER)
/bin/yarn
.PHONY
:
build
build
:
# Building version
$(NNI_VERSION_VALUE)
python3
-m
pip
install
--user
--upgrade
setuptools wheel
wget
-q
https://aka.ms/nni/nodejs-download/
$(OS_SPEC)
-O
$(CWD)
node-
$(OS_SPEC)
-x64
.tar.xz
rm
-rf
$(CWD)
node-
$(OS_SPEC)
-x64
...
...
deployment/pypi/install.ps1
View file @
8d8fcd28
...
...
@@ -15,6 +15,7 @@ else{
$TIME_STAMP
=
date
-u
"+%y%m%d%H%M"
$NNI_VERSION_VALUE
=
git
describe
--tags
--abbrev
=
0
$NNI_VERSION_VALUE
=
$NNI_VERSION_VALUE
.
substring
(
1
)
# To include time stamp in version value, run:
# make version_ts=true build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment