Skip to content

versioning

Samantha Marshall edited this page Aug 4, 2016 · 1 revision

Versioning

pyconfig supports the generation of an additional .xcconfig file named scm-version.xcconfig. This will contain variables that have relevant information pulled from the source control versioning system you use to assist with creating helpful and informative versioning configurations. pyconfig currently supports querying:

  • git
    • branch name
    • commit hash (short)
  • subversion
    • revision number
  • mercurial
    • branch name
    • revision number

Each of these will generate a separate variable in the scm-version.xcconfig file is the --scm-info flag is passed on the command line.

Clone this wiki locally