We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7946a commit 87716efCopy full SHA for 87716ef
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "painterro",
3
- "version": "0.2.12",
+ "version": "0.2.13",
4
"description": "Embуedded html image editor",
5
"main": "build/painterro.commonjs2.js",
6
"scripts": {
publish.sh
@@ -27,7 +27,7 @@ res=`curl --user "$GH_USER:$GH_PATH" -X POST https://api.github.com/repos/${GH_U
27
\"prerelease\": false
28
}"`
29
echo Create release result: ${res}
30
-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"])'`
31
file_name=painterro-${VERSION}.min.js
32
33
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