Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: pyaff4/_version.py

Issue 2681823004: New bugfix release 0.24.post3. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pyaff4/pyaff4/_version.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 # Machine Generated - do not edit! 2 # Machine Generated - do not edit!
3 3
4 # This file is produced when the main "version.py update" command is run. That 4 # This file is produced when the main "version.py update" command is run. That
5 # command copies this file to all sub-packages which contain 5 # command copies this file to all sub-packages which contain
6 # setup.py. Configuration is maintain in version.yaml at the project's top 6 # setup.py. Configuration is maintain in version.yaml at the project's top
7 # level. 7 # level.
8 8
9 def get_versions(): 9 def get_versions():
10 return tag_version_data(raw_versions(), """version.yaml""") 10 return tag_version_data(raw_versions(), """version.yaml""")
11 11
12 def raw_versions(): 12 def raw_versions():
13 return json.loads(""" 13 return json.loads("""
14 { 14 {
15 "post": "1", 15 "post": "3",
16 "version": "0.24", 16 "version": "0.24",
17 "rc": "0" 17 "rc": "0"
18 } 18 }
19 """) 19 """)
20 20
21 import json 21 import json
22 import os 22 import os
23 import subprocess 23 import subprocess
24 24
25 try: 25 try:
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 elif int(version_data.get("rc", 0)) > 0: 92 elif int(version_data.get("rc", 0)) > 0:
93 pep440 += ".rc" + version_data["rc"] 93 pep440 += ".rc" + version_data["rc"]
94 94
95 if version_data.get("dev", 0): 95 if version_data.get("dev", 0):
96 pep440 += ".dev" + str(version_data["dev"]) 96 pep440 += ".dev" + str(version_data["dev"])
97 97
98 version_data["pep440"] = pep440 98 version_data["pep440"] = pep440
99 99
100 return version_data 100 return version_data
OLDNEW
« no previous file with comments | « no previous file | pyaff4/pyaff4/_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698