Skip to content

Commit ecf3912

Browse files
committed
0.2.11
1 parent 4a28431 commit ecf3912

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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.10",
3+
"version": "0.2.11",
44
"description": "Embуedded html image editor",
55
"main": "build/painterro.commonjs2.js",
66
"scripts": {

publish.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ res=`curl --user "$GH_USER:$GH_PATH" -X POST https://api.github.com/repos/${GH_U
2828
}"`
2929
echo Create release result: ${res}
3030
rel_id=`echo ${res}| grep -oP '"id": +\d+' | grep -oP '\d+'`
31+
rel_id=1838656
3132
file_name=painterro-${VERSION}.min.js
3233

3334
curl --user "$GH_USER:$GH_PATH" -X POST https://uploads.github.com/repos/${GH_USER}/${GH_REPO}/releases/${rel_id}/assets?name=${file_name}\
3435
--header 'Content-Type: text/javascript ' --upload-file ${ASSETS_PATH}/${file_name}
3536

3637
file_map_name=painterro-${VERSION}.min.js.map
37-
curl --user "$GH_USER:$GH_PATH" -X POST https://uploads.github.com/repos/${GH_USER}/${GH_REPO}/releases/${rel_id}/assets?name=${file_name}\
38+
curl --user "$GH_USER:$GH_PATH" -X POST https://uploads.github.com/repos/${GH_USER}/${GH_REPO}/releases/${rel_id}/assets?name=${file_map_name}\
3839
--header 'Content-Type: text/javascript ' --upload-file ${ASSETS_PATH}/${file_map_name}
3940

4041
rm ${ASSETS_PATH}/${file_name}

0 commit comments

Comments
 (0)