Skip to content

Commit 074a4a0

Browse files
committed
Remove XPCOM version changes from utils/setversion.py
1 parent d216cdd commit 074a4a0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

utils/setversion.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from datetime import date
33
import json
44
import re
5-
import sys
65

76
# Set the version in manifest.json to one based on today's date.
87
# Set the version in install.rdf and about.xul to one specified on the command
@@ -15,13 +14,3 @@
1514
manifest['version'] = `t.year` +'.'+ `t.month` +'.'+ `t.day`
1615
f = open('chromium/manifest.json','w')
1716
f.write(json.dumps(manifest,indent=4,sort_keys=True,separators=(',', ': ')))
18-
19-
def replace_in_file(from_re, to, filename):
20-
contents = open(filename).read()
21-
with open(filename, 'w') as outfile:
22-
outfile.write(re.sub(from_re, to, contents))
23-
24-
firefox_version = sys.argv[1]
25-
replace_in_file('<em:version>.*</em:version>',
26-
'<em:version>' + firefox_version + '</em:version>',
27-
'src/install.rdf')

0 commit comments

Comments
 (0)