Skip to content

Commit

Permalink
Simplified version number (redux)
Browse files Browse the repository at this point in the history
From now on, AVIM versions take the form *.X.Y.Z, where X is a major version number, Y is a minor version number, and Z is a build number. The * doesn’t mean anything; it’s part of the version string mainly to fool Mozilla Add-ons’ version comparison. The first such version string is *.5.3.0, chosen to look newer than 20080728.526b1.

Fixes #95.
  • Loading branch information
1ec5 committed Oct 24, 2014
1 parent c1427b3 commit 01f4efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,9 @@ def main():

# Defaults
## config_file = None
# The "r" is a kludge to force the Mozilla Add-ons update service to
# The "*" is a kludge to force the Mozilla Add-ons update service to
# consider the version to be greater than 20,060,713 (AVIM's first version).
default_version = version = "r." + ".".join(str(part) for part in VERSION)
default_version = version = "*." + ".".join(str(part) for part in VERSION)
today = (DATE or date.today()).strftime("%A, %B %e, %Y")

commit = subprocess.check_output(["git", "show", "--pretty=format:%h_%at"])
Expand Down

0 comments on commit 01f4efe

Please sign in to comment.