Permalink
Browse files

bump up version, tweak bundler to delete existing zip first

  • Loading branch information...
1 parent bea93e8 commit 29a2cea54055827c3f2f0c83f656f9262a4115f4 @psawaya psawaya committed Dec 27, 2012
Showing with 6 additions and 6 deletions.
  1. +5 −5 bundle_for_webstore.py
  2. +1 −1 manifest.json
@@ -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)
View
@@ -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",

0 comments on commit 29a2cea

Please sign in to comment.