Skip to content

Commit

Permalink
Merge pull request #16 from tilfin/feature/archive
Browse files Browse the repository at this point in the history
Build and archive
  • Loading branch information
tilfin authored Apr 14, 2017
2 parents 9469730 + b0a1c88 commit 442a523
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions bin/archive.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
#--
# archive.sh
#--
zipfile=aws-extend-switch-roles.zip

zip -r $zipfile \
manifest.json *.html icons/ js/

echo "archived: $zipfile"
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "AWS Extend Switch Roles",
"version": "0.3.3",
"version": "0.4.0",
"description": "Extend your AWS IAM switching roles. You can set the configuration by aws config format",
"short_name": "Extend SwtichRole",
"permissions": ["storage"],
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"test": "test"
},
"scripts": {
"archive": "./bin/build.sh; ./bin/archive.sh",
"build": "./bin/build.sh",
"test": "karma start",
"ci": "karma start --single-run"
},
Expand Down

0 comments on commit 442a523

Please sign in to comment.