Bug 135948

Summary: [Win] Extend auto-version.pl and version-stamp.pl to account for RC_ProjectBuildVersion
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Tools / TestsAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Patch ddkilzer: review+

Brent Fulgham
Reported 2014-08-14 12:34:27 PDT
Update these two build utilities to handle the RC_ProjectBuildVersion environment variable, and to recognize both possible capitalization styles.
Attachments
Patch (3.57 KB, patch)
2014-08-14 12:46 PDT, Brent Fulgham
ddkilzer: review+
Radar WebKit Bug Importer
Comment 1 2014-08-14 12:34:56 PDT
Brent Fulgham
Comment 2 2014-08-14 12:46:48 PDT
David Kilzer (:ddkilzer)
Comment 3 2014-08-14 13:03:15 PDT
Comment on attachment 236609 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236609&action=review r=me, but please add tests for the override behavior. > WebKitLibraries/win/tools/scripts/auto-version.pl:152 > + my $RETURN_NANO_VERSION = $ENV{RC_ProjectBuildVersion} || $ENV{RC_PROJECTBUILDVERSION} || $BUILD_MICRO_VERSION; Nit: Should be consistent here and use '' quotes around the hash key like the code above.
Brent Fulgham
Comment 4 2014-08-14 14:02:57 PDT
(In reply to comment #3) > (From update of attachment 236609 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=236609&action=review > > r=me, but please add tests for the override behavior. Done! I actually had them, but did my `webkit-patch upload` from the WebKitLibraries directory. > > WebKitLibraries/win/tools/scripts/auto-version.pl:152 > > + my $RETURN_NANO_VERSION = $ENV{RC_ProjectBuildVersion} || $ENV{RC_PROJECTBUILDVERSION} || $BUILD_MICRO_VERSION; > > Nit: Should be consistent here and use '' quotes around the hash key like the code above. Will do!
Brent Fulgham
Comment 5 2014-08-14 14:09:39 PDT
Note You need to log in before you can comment on or make changes to this bug.