Home | History | Annotate | Download | only in build-aux

Lines Matching defs:version

2 # In a git/autoconf/automake-enabled project with a NEWS file and a version-
3 # controlled .prev-version file, automate the procedure by which we record
4 # the date, release-type and version string in the NEWS file. That commit
6 VERSION=2012-08-01.09 # UTC
14 # the Free Software Foundation, either version 3 of the License, or
15 # (at your option) any later version.
34 Usage: $ME [OPTION...] VERSION RELEASE_TYPE
37 update in which the date, release-type and version string are
43 - you use git for version-control
44 - a version-controlled .prev-version file
52 --version print version number, then exit
64 version()
66 year=$(echo "$VERSION" | sed 's/[^0-9].*//')
68 $ME $VERSION
70 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
102 --help|--version) ${1#--};;
111 || die "Usage: $ME [OPTION...] VERSION TYPE"
121 # Verify that $ver looks like a version number, and...
123 || die "invalid version: $ver"
124 prev_ver=$(cat .prev-version) \
125 || die 'failed to determine previous version number from .prev-version'
127 # Verify that $ver is sensible (> .prev-version).
130 *) die "invalid version: $ver (<= $prev_ver)";;
161 # Update NEWS to have today's date, plus desired version number and $type.
168 printf "version $ver\n\n* NEWS: Record release date.\n" \
175 # time-stamp-start: "VERSION="