diff options
author | Marius Bakke <marius@gnu.org> | 2021-09-04 19:07:52 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-09-08 18:03:50 +0200 |
commit | 16ef7b4938b14e68f8ca7504c9614f84530572ed (patch) | |
tree | 8e301c083c414d41875c4ab171bd90c7ee328b20 /doc | |
parent | 1dc3825e9940de44c1f170add7bd26d61830ce34 (diff) | |
download | guix-16ef7b4938b14e68f8ca7504c9614f84530572ed.tar.gz |
transformations: Git tags and 'git describe' style IDs are used as version.
* guix/transformations.scm (commit->version-string): New procedure. Use git tags and 'git describe' style identifiers directly. (transform-package-source-commit): Adjust accordingly. * tests/transformations.scm ("options->transformation, with-commit, version transformation"): New test. * doc/guix.texi (Package Transformation Options): Mention the 'git describe' style.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index f88967b593..220499503d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -10652,7 +10652,8 @@ guix build --with-branch=guile-sqlite3=master cuirass @item --with-commit=@var{package}=@var{commit} This is similar to @option{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid -Git commit SHA1 identifier or a tag. +Git commit SHA1 identifier, a tag, or a @command{git describe} style +identifier such as @code{1.0-3-gabc123}. @item --with-patch=@var{package}=@var{file} Add @var{file} to the list of patches applied to @var{package}, where |