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 68ab888e31
Freenode is no more.
11 months ago
COPYING.md Update the © year. 1 year ago
NEWS Freenode is no more. 11 months ago
autorevision.asciidoc Add option -C for changing working directory. 3 years ago
autorevision.sh Update the © year. 1 year ago
control Freenode is no more. 11 months 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.