1. Brian Mearns
  2. tome

Commits

Brian Mearns  committed 8d77590

Added release number to version string.

  • Participants
  • Parent commits 3e957f9
  • Branches default
  • Tags r3, v1.2.0.0 1
    1. v1.2.0.0-r3

Comments (0)

Files changed (3)

File CHANGES.txt

View file
-Rel 3 - CURRENT
+Rel 3 - v1.2.0.0 - 2013-01-28
     [n] Added support for part- and book- title pages to EPUB output
         writer. (multiple cs, primarily the "epub parts and books"
         branch).

File doc/compat.txt

View file
 code, or something similar. You aren't likely to see changes to the semantic
 version very often, because they usually don't justify a new release.
 
+Version number components are implicitly 0 if unspecified, so 1.0 and 1.0.0
+are the same version. Generally speaking, trailing zeros beyond the minor
+version number are left omitted for brevity. However, the Major version number
+alone typically refers to a major version of the interface, so version 1
+refers to the major interface of all 1.x.x.x versions, but version 1.0
+specifically refers to version 1.0.0.0.
+
 
 
                               The Release Number

File src/tome/version.py

View file
 # Dev and blood versions are still numbered for the *previous* version,
 # because we may not know what the next version will be until we're finished.
 
+RELEASE     = 3
+
 MAJOR       = 1
-MINOR       = 1
+MINOR       = 2
 PATCH       = 0
 SEMANTIC    = 0
-RELEASE     = 2
 
 YEAR        = 2013
 MONTH       = 1
-DAY         = 25
+DAY         = 28
 COPYRIGHT   = YEAR
 
-TAG         = "dev"
+TAG         = None
 
 
 
 def setuptools_string():
     vstr = "%d.%d.%d.%d" % (MAJOR, MINOR, PATCH, SEMANTIC)
     if TAG is not None:
-        vstr += "-p-%s" % TAG
+        vstr += "-x-%s" % TAG
+    else:
+        vstr += "-r%d" % RELEASE
     return vstr
 
 def string():
     vstr = "%d.%d.%d.%d" % (MAJOR, MINOR, PATCH, SEMANTIC)
     if TAG is not None:
         vstr += "-%s" % TAG
+    else:
+        vstr += "-r%d" % RELEASE
     return vstr
 
 def datestr():