From 03db6c429a28c8c8b917f423157c3e6cfcfe949a Mon Sep 17 00:00:00 2001 From: Ivan Borshchov Date: Wed, 9 Oct 2019 00:47:12 +0300 Subject: [PATCH] 1.0.20 --- package-lock.json | 2 +- package.json | 2 +- publish.sh | 5 +++-- wp/trunk/index.js | 2 +- wp/trunk/painterro-wp.php | 4 ++-- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index f00da80..ecce335 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "painterro", - "version": "1.0.19", + "version": "1.0.20", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3329bcb..84a4734 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "painterro", - "version": "1.0.19", + "version": "1.0.20", "description": "HTML5 image editor widget", "main": "build/painterro.commonjs2.js", "repository": { diff --git a/publish.sh b/publish.sh index 9274a12..f707fa7 100644 --- a/publish.sh +++ b/publish.sh @@ -1,9 +1,10 @@ #!/usr/bin/env bash -# Auto-release script for https://github.com/ivictbor/painterro +# Auto-release script for https://github.com/devforth/painterro # Creates new release, builds assets and performs publishing to github and npm GH_USER=ivictbor +GH_REPO_USER=devforth GH_PATH=`cat ~/.ghpass` GH_REPO=painterro GH_TARGET=master @@ -36,7 +37,7 @@ git commit -m "$VERSION" git push npm publish -res=`curl --user "$GH_USER:$GH_PATH" -X POST https://api.github.com/repos/${GH_USER}/${GH_REPO}/releases \ +res=`curl --user "$GH_USER:$GH_PATH" -X POST https://api.github.com/repos/${GH_REPO_USER}/${GH_REPO}/releases \ -d " { \"tag_name\": \"v$VERSION\", diff --git a/wp/trunk/index.js b/wp/trunk/index.js index 1c3d187..df2da3c 100644 --- a/wp/trunk/index.js +++ b/wp/trunk/index.js @@ -90,7 +90,7 @@ return { longname: "Painterro", author: "Ivan Borshchov", - version: "1.0.19", + version: "1.0.20", }; } }); diff --git a/wp/trunk/painterro-wp.php b/wp/trunk/painterro-wp.php index 510d004..26ad13f 100644 --- a/wp/trunk/painterro-wp.php +++ b/wp/trunk/painterro-wp.php @@ -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.19 +Version: 1.0.20 Author: Ivan Borshchov License: MIT */ -define("PAINTERRO_FILE", "painterro-1.0.19.min.js"); +define("PAINTERRO_FILE", "painterro-1.0.20.min.js"); function include_painterro_script() {