bump up version, tweak bundler to delete existing zip first

This commit is contained in:
Paul Sawaya 2012-12-27 12:09:02 -08:00
Родитель bea93e820b
Коммит 29a2cea540
2 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -17,6 +17,10 @@ def bundle():
if os.path.isdir('temp'):
shutil.rmtree('temp')
# Delete any existing zip file
if os.path.isfile('gombot-webstore.zip'):
os.unlink('gombot-webstore.zip')
# Copy this directory
shutil.copytree('.','temp')
@ -33,11 +37,7 @@ def bundle():
# Update gombot manifest.json
changeManifest('temp/manifest.json')
# Delete any existing zip file
if os.path.isfile('gombot-webstore.zip'):
os.unlink('gombot-webstore.zip')
# Zip up temp directory
call(['/usr/bin/zip', '-r', 'gombot-webstore', 'temp'], stdout=PIPE, stderr=PIPE)

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "Gombot Alpha",
"manifest_version": 2,
"version": "0.1.3",
"version": "0.1.5",
"description": "Tired of remembering your usernames and passwords? Let Gombot do the work for you!",
"permissions": [
"tabs",