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.
1 year ago
.github Add some templates for github. 2 years ago
contribs Update the output methods. 1 year ago
examples Update the examples. 1 year ago
.editorconfig Add .editorconfig file 3 years ago
.gitignore Generate the logo from the autorevision VCS metadata 2 years ago
.mailmap Add the .mailmap file used for creating AUTHORS.txt 2 years ago
CONTRIBUTING.md Use https instead of http for the ShellCheck link 2 years ago
COPYING.md Update copyright year. 2 years ago
Makefile Generate the logo from the autorevision VCS metadata 2 years ago
NEWS Update the news. 1 year ago
README.md Point at the relative man page. 4 years ago
autorevision.asciidoc First pass at extracting OpenPGP signature info for git commits and tags. 1 year ago
autorevision.sh do not complain if VCS_TAG is empty 1 year ago
control Update the control file. 2 years ago
logo.svg.in Generate the logo from the autorevision VCS metadata 2 years ago
test.sh Make sure the cache file is not polluted by outputting it first. 2 years ago

README.md

Autorevision

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.