Skip to content

Commit 87716ef

Browse files
committed
0.2.13
1 parent ce7946a commit 87716ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "painterro",
3-
"version": "0.2.12",
3+
"version": "0.2.13",
44
"description": "Embуedded html image editor",
55
"main": "build/painterro.commonjs2.js",
66
"scripts": {

publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ res=`curl --user "$GH_USER:$GH_PATH" -X POST https://api.github.com/repos/${GH_U
2727
\"prerelease\": false
2828
}"`
2929
echo Create release result: ${res}
30-
rel_id=`echo ${res}| grep -oP '"id": +\d+' | grep -oP '\d+'`
30+
rel_id=`echo ${res} | python -c 'import json,sys;print(json.load(sys.stdin)["id"])'`
3131
file_name=painterro-${VERSION}.min.js
3232

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

0 commit comments

Comments
 (0)