Skip to content

Commit

Permalink
0.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
ivictbor committed Jul 9, 2017
1 parent ce7946a commit 87716ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "painterro",
"version": "0.2.12",
"version": "0.2.13",
"description": "Embуedded html image editor",
"main": "build/painterro.commonjs2.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ res=`curl --user "$GH_USER:$GH_PATH" -X POST https://api.github.com/repos/${GH_U
\"prerelease\": false
}"`
echo Create release result: ${res}
rel_id=`echo ${res}| grep -oP '"id": +\d+' | grep -oP '\d+'`
rel_id=`echo ${res} | python -c 'import json,sys;print(json.load(sys.stdin)["id"])'`
file_name=painterro-${VERSION}.min.js

curl --user "$GH_USER:$GH_PATH" -X POST https://uploads.github.com/repos/${GH_USER}/${GH_REPO}/releases/${rel_id}/assets?name=${file_name}\
Expand Down

0 comments on commit 87716ef

Please sign in to comment.