Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

build,win: restore vcbuild TAG functionality #447

Merged
merged 1 commit into from
Jan 12, 2018
Merged

Conversation

kfarnung
Copy link
Contributor

@kfarnung kfarnung commented Jan 12, 2018

Cherry-picking upstream change nodejs/node@b225970

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

build, win

--tag needs to be set after `getnodeversion` because TAG is defined in
there when DISTTYPE is not "release", setting it before `getnodeversion`
leads to --tag not being passed down in to `configure` and
src/node_version.h setting it as `-pre` by default. This change restores
the functionality that properly sets the TAG for nightlies, rc builds
and other custom build types.

Ref: nodejs/node#17299
Ref: nodejs/abi-stable-node#289

PR-URL: nodejs/node#18031
Ref: nodejs/node#17299
Ref: nodejs/abi-stable-node#289
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: JoãReis <reis@janeasystems.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
@kfarnung kfarnung self-assigned this Jan 12, 2018
@kfarnung
Copy link
Contributor Author

@kfarnung kfarnung merged commit 560b195 into nodejs:v8.x Jan 12, 2018
@kfarnung kfarnung deleted the vcbuild branch January 12, 2018 01:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants