so that ./configure --tag=foo makes a version number like v0.9.5-foo
instead of v0.9.5foo
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):
#define NODE_PATCH_VERSION 5
#ifndef NODE_TAG
-# define NODE_TAG ""
+# define NODE_TAG ""
#endif
#define NODE_VERSION_IS_RELEASE 0