Skip to content

Commit

Permalink
1.0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
ivictbor committed Oct 12, 2019
1 parent 1c0b90f commit a30eaed
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "1.0.21",
"version": "1.0.22",
"description": "HTML5 image editor widget",
"main": "build/painterro.commonjs2.js",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ echo Create release result: ${res}
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}\
curl --user "$GH_USER:$GH_PATH" -X POST https://uploads.github.com/repos/${GH_REPO_USER}/${GH_REPO}/releases/${rel_id}/assets?name=${file_name}\
--header 'Content-Type: text/javascript ' --upload-file ${ASSETS_PATH}/${file_name}

file_map_name=painterro-${VERSION}.min.js.map
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}\
curl --user "$GH_USER:$GH_PATH" -X POST https://uploads.github.com/repos/${GH_REPO_USER}/${GH_REPO}/releases/${rel_id}/assets?name=${file_map_name}\
--header 'Content-Type: text/javascript ' --upload-file ${ASSETS_PATH}/${file_map_name}

rm ${ASSETS_PATH}/${file_name}
Expand Down
2 changes: 1 addition & 1 deletion wp/trunk/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
return {
longname: "Painterro",
author: "Ivan Borshchov",
version: "1.0.21",
version: "1.0.22",
};
}
});
Expand Down
4 changes: 2 additions & 2 deletions wp/trunk/painterro-wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
Plugin Name: Painterro
Plugin URI: https://github.com/ivictbor/painterro
Description: Paste screenshots and edit images directly in browser. Adds Painterro button to visual editor for images editing. Absolutely free and open source.
Version: 1.0.21
Version: 1.0.22
Author: Ivan Borshchov
License: MIT
*/

define("PAINTERRO_FILE", "painterro-1.0.21.min.js");
define("PAINTERRO_FILE", "painterro-1.0.22.min.js");

function include_painterro_script()
{
Expand Down

0 comments on commit a30eaed

Please sign in to comment.