diff --git a/.env b/.env index f90dde8..921042d 100644 --- a/.env +++ b/.env @@ -1 +1,3 @@ -APP_VERSION=8.2.9 +APP_VERSION=8.2.12 +PAYPAL_URL=https://www.paypal.me/ArtemSolovev +OPENCOLLECTIVE_URL=https://opencollective.com/artem-solovev diff --git a/README.md b/README.md index 576a614..d238de0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ___ ## History ### Version: -- current: 8.2.10 ( 2020, 6 june ) +- current: 8.2.12 ( 2020, 7 june ) - initial: 2.0.1 ( 2017, 12 february ) I made this program in the Russian Army while I was on duty. I was coding as fast as i could ))) diff --git a/manifest.json b/manifest.json index 29857f5..b9b3c33 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "short_name": "__MSG_shortName__", "author": "__MSG_author__", "description": "__MSG_description__", - "version": "8.2.9", + "version": "8.2.12", "browser_action": { "default_icon": "img/icon128.png", "default_popup": "index.html", diff --git a/package-lock.json b/package-lock.json index d4fb8f4..9bc21ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gloc", - "version": "8.2.10", + "version": "8.2.12", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ab34720..ae85a3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gloc", - "version": "8.2.10", + "version": "8.2.12", "description": "Extension counts the number of lines of code in GitHub pages.", "author": "Artem Solovev", "license": "GPL-2.0", @@ -25,7 +25,7 @@ "zip": "grunt", "build:prod": "webpack --config webpack.config.prod && grunt", "build:dev": "webpack --config webpack.config.dev && grunt", - "version:up": "npm version patch --no-git-tag-version --force && git add package.json package-lock.json && node ./scripts/upAppVersion.js" + "version:up": "npm version patch --no-git-tag-version --force && node ./scripts/upAppVersion.js && git add package.json package-lock.json .env manifest.json" }, "husky": { "hooks": { diff --git a/scripts/upAppVersion.js b/scripts/upAppVersion.js index 5e0d18c..23bd945 100644 --- a/scripts/upAppVersion.js +++ b/scripts/upAppVersion.js @@ -8,6 +8,9 @@ const manifest = require('../manifest.json'); const sourcePath = '.env' let parsedFile = envfile.parse(sourcePath); parsedFile.APP_VERSION = package.version; +parsedFile.PAYPAL_URL = 'https://www.paypal.me/ArtemSolovev'; // TEMP +parsedFile.OPENCOLLECTIVE_URL = 'https://opencollective.com/artem-solovev'; // TEMP + fs.writeFileSync('./.env', envfile.stringify(parsedFile)); // update manifest