Add some polish to the release process
This commit is contained in:
parent
42ed9ed942
commit
e647c53af1
2 changed files with 36 additions and 18 deletions
14
tools/get-version
Executable file
14
tools/get-version
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
|
||||
open(CONF, "configure.ac") or die "Couldn't open configure.ac: $!\n";
|
||||
|
||||
while (<CONF>) {
|
||||
if (/^AC_INIT\(\[stow\], \[(.+?)\]/) {
|
||||
print "$1\n";
|
||||
exit 0;
|
||||
}
|
||||
}
|
||||
|
||||
exit 1;
|
Loading…
Add table
Add a link
Reference in a new issue