Skip to content

Commit

Permalink
1.2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
ivictbor committed Feb 3, 2021
1 parent df69551 commit 9fdec07
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.2.19",
"version": "1.2.20",
"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 @@ -53,11 +53,11 @@ file_name=painterro-${VERSION}.min.js

echo "Release id", $rel_id

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}\
curl --user "$GH_USER:$GH_PASS" -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_REPO_USER}/${GH_REPO}/releases/${rel_id}/assets?name=${file_map_name}\
curl --user "$GH_USER:$GH_PASS" -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.2.19",
version: "1.2.20",
};
}
});
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.2.19
Version: 1.2.20
Author: Ivan Borshchov
License: MIT
*/

define("PAINTERRO_FILE", "painterro-1.2.19.min.js");
define("PAINTERRO_FILE", "painterro-1.2.20.min.js");

function include_painterro_script()
{
Expand Down

0 comments on commit 9fdec07

Please sign in to comment.