author | Sebastian Harl <sh@tokkee.org> | |
Thu, 26 Jul 2007 16:13:18 +0000 (18:13 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 22 Aug 2007 14:35:40 +0000 (16:35 +0200) | ||
commit | 1b739da931a8edb0e3a1c283fd464c4fd9805b67 | |
tree | 968816be75089d9f459b873ede2e9bde15c1d2e5 | tree | snapshot |
parent | 3ab19962c1552df25fbe55a2afc0842ddfd21c08 | commit | diff |
configure.in: Generate version dynamically using version-gen.sh.
This dynamically creates the version string when the configure script is
created. If run from within a repository the output of "git describe" is
used to create the version string. Else it defaults to a hardcoded value
which should be something like "$latest_version.git".
The idea is to update the default version to the new version (without
".git" appended) as the last commit of a release cycle. This commit is
tagged as the new version. The next commit after the release will set the
default version to "$new_version.git".
The benefit is that a pre-release with a quite well defined and unique
version can be easily created at any time.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
This dynamically creates the version string when the configure script is
created. If run from within a repository the output of "git describe" is
used to create the version string. Else it defaults to a hardcoded value
which should be something like "$latest_version.git".
The idea is to update the default version to the new version (without
".git" appended) as the last commit of a release cycle. This commit is
tagged as the new version. The next commit after the release will set the
default version to "$new_version.git".
The benefit is that a pre-release with a quite well defined and unique
version can be easily created at any time.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in | diff | blob | history | |
version-gen.sh | [new file with mode: 0755] | blob |