1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00

fine tune Firefox dev build publishing script

This commit is contained in:
Raymond Hill 2018-02-26 16:53:21 -05:00
parent 0414ce80a0
commit 7b92709bcd
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -32,8 +32,12 @@ from string import Template
# - Modify updates.json to point to new version
# - Commit changes to repo
# Find path to project root
projdir = os.path.split(os.path.abspath(__file__))[0]
while not os.path.isdir(os.path.join(projdir, '.git')):
projdir = os.path.normpath(os.path.join(projdir, '..'))
extension_id = 'uBlock0@raymondhill.net'
projdir = os.path.join(os.path.split(os.path.abspath(__file__))[0], '..', '..')
tmpdir = tempfile.TemporaryDirectory()
raw_xpi_filename = 'uBlock0.webext.xpi'
raw_xpi_filepath = os.path.join(tmpdir.name, raw_xpi_filename)