0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-21 21:19:50 +01:00

build: Add hyphen to custom build tags

so that ./configure --tag=foo makes a version number like v0.9.5-foo
instead of v0.9.5foo
This commit is contained in:
isaacs 2012-12-26 20:35:00 -08:00
parent d76eacd4e6
commit 4be9c695f0
2 changed files with 5 additions and 2 deletions

5
configure vendored
View File

@ -495,7 +495,10 @@ def configure_node(o):
else:
o['variables']['node_use_perfctr'] = 'false'
o['variables']['node_tag'] = options.tag or ''
if options.tag:
o['variables']['node_tag'] = '-' + options.tag
else:
o['variables']['node_tag'] = ''
def configure_libz(o):

View File

@ -27,7 +27,7 @@
#define NODE_PATCH_VERSION 5
#ifndef NODE_TAG
# define NODE_TAG ""
# define NODE_TAG ""
#endif
#define NODE_VERSION_IS_RELEASE 0