> On Feb 10, 2016, at 12:55 PM, Laszlo Ersek <[email protected]> wrote: > > On 02/10/16 20:08, Felix Poludov wrote: >> Most of the EDKII tools support --version switch that returns tool version >> and build number. >> We've been using SVN revision ID as a build number for all the tools. >> Have there been any discussions > > Not to my knowledge. > >> on what should be used as a build number in the new (and hopefully merrier) >> EDKII Git world? > > IMO, clearly the git commit hash of the current tree (possibly truncated > to 12 nibbles). >
I thought the --short output was shorter than that? > Unless official releases and matching git tagging are institutionalized > -- in that case, "git describe" is frequently used. > The other trick I've seen is to add a /D or -D CFLAG with the hash of the HEAD so you don't need an untracked file, or extra steps in the build process, to get this done. Thanks, Andrew Fish > Thanks > Laszlo > >> >> Felix >> >> >> The information contained in this message may be confidential and >> proprietary to American Megatrends, Inc. This communication is intended to >> be read only by the individual or entity to whom it is addressed or by their >> designee. If the reader of this message is not the intended recipient, you >> are on notice that any distribution of this message, in any form, is >> strictly prohibited. Please promptly notify the sender by reply e-mail or >> by telephone at 770-246-8600, and then delete or destroy all copies of the >> transmission. >> _______________________________________________ >> edk2-devel mailing list >> [email protected] >> https://lists.01.org/mailman/listinfo/edk2-devel >> > > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

