Version String With Git Hash
define-version-strings-with-git-hash
7.9

Version String With Git Hash

William Hatch <william@hatch.uno>,
Pierce Darragh <pierce.darragh@gmail.com>,
and Eric Eide <eeide@cs.utah.edu>

If you want to put a git commit hash in your version info, you might like this package.

syntax

(define-version-strings-with-git-hash
  package-name
  #:just-git-hash just-git-hash-name
  #:with-package-name named-version-string-name
  #:no-package-name no-name-version-string-name)
Defines just-git-hash-name, named-version-string-name, and/or no-name-version-string-name as strings. But each of those keyword arguments is optional.

Example:
(define-version-strings-with-git-hash "version-string-with-git-hash"
  #:with-package-name wpn
  #:no-package-name npn
  #:just-git-hash jgh)
(displayln wpn)
(displayln npn)
(displayln jgh)

Will display something like:

version-string-with-git-hash 2.0.3 (7a0927c)

2.0.3 (7a0927c)

7a0927c