summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-01-07 16:18:25 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-01-07 16:18:25 +0000
commitfa6fb37ef269391bbf757f52ba61a1b025733a33 (patch)
tree3a0390021f24ab89b398b22d897937ea96435a25 /alot
parent904b2fc07f3ab20e35f1d8804fef33ea4a713e62 (diff)
version string vanity
actually use the version string generated by git describe if possible. Also, don't check in every change to the version file and let its fallback content be "0.21+"
Diffstat (limited to 'alot')
-rw-r--r--alot/VERSION2
-rw-r--r--alot/version.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/alot/VERSION b/alot/VERSION
index f877d9bd..1ed3d926 100644
--- a/alot/VERSION
+++ b/alot/VERSION
@@ -1 +1 @@
-0.21-dev
+0.21+
diff --git a/alot/version.py b/alot/version.py
index 1506c137..3cd06249 100644
--- a/alot/version.py
+++ b/alot/version.py
@@ -83,7 +83,7 @@ def write_version(version):
f.close()
-def get_git_version(abbrev=4):
+def generate_version(abbrev=4):
# Read in the version that's currently in VERSION.
release_version = read_version()