A script for extracting version information useful in release/build scripting. https://autorevision.github.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dak180 99c9dce5ea
Update the news.
2 years ago
.github Add some templates for github. 4 years ago
contribs Update the output methods. 3 years ago
examples Update the examples. 3 years ago
.editorconfig Add .editorconfig file 4 years ago
.gitignore Generate the logo from the autorevision VCS metadata 3 years ago
.mailmap Add the .mailmap file used for creating AUTHORS.txt 3 years ago
CONTRIBUTING.md Use https instead of http for the ShellCheck link 4 years ago
COPYING.md Update copyright year. 3 years ago
Makefile Generate the logo from the autorevision VCS metadata 3 years ago
NEWS Update the news. 2 years ago
README.md Point at the relative man page. 5 years ago
autorevision.asciidoc First pass at extracting OpenPGP signature info for git commits and tags. 3 years ago
autorevision.sh do not complain if VCS_TAG is empty 2 years ago
control Update the control file. 3 years ago
logo.svg.in Generate the logo from the autorevision VCS metadata 3 years ago
test.sh Make sure the cache file is not polluted by outputting it first. 3 years ago



A shell script for extracting revision information useful in release/build scripting from repositories.

Supported repository types include git, hg, bzr, and svn. The record can be emitted in a ready-to-use form for C, C++, Java, bash, Python, Perl, lua, php, ini and others.

Emitted information includes the ID of the most recent commit, its branch, its date, and several other useful pieces of meta-information.

There is support for reading and writing a cache file so autorevision will remain useful during a build from an unpacked distribution tarball.

See the manual page, included in the distribution, for invocation details.

You can check out examples of the different output that autorevision can produce in examples.