From 35d88285906e3a5c44c1b920b927ad961e20870d Mon Sep 17 00:00:00 2001 From: Luiz Motta Date: Wed, 29 Apr 2020 17:54:45 -0300 Subject: [PATCH] Bump up version to 0.4.30 --- .github/workflows/publish_chrome_ext.yml | 17 ++++++++--------- lerna.json | 2 +- .../package.json | 10 +++++----- .../static/manifest.json | 2 +- packages/chrome-extension/package.json | 6 +++--- packages/core-api/package.json | 2 +- packages/desktop/package.json | 10 +++++----- packages/hub/package.json | 8 ++++---- packages/kie-bc-editors-unpacked/package.json | 2 +- packages/kie-bc-editors/package.json | 6 +++--- .../microeditor-envelope-protocol/package.json | 4 ++-- packages/microeditor-envelope/package.json | 6 +++--- packages/online-editor/package.json | 10 +++++----- .../package.json | 14 +++++++------- packages/vscode-extension/package.json | 8 ++++---- 15 files changed, 53 insertions(+), 54 deletions(-) diff --git a/.github/workflows/publish_chrome_ext.yml b/.github/workflows/publish_chrome_ext.yml index b0974620973..28043e79368 100644 --- a/.github/workflows/publish_chrome_ext.yml +++ b/.github/workflows/publish_chrome_ext.yml @@ -1,4 +1,4 @@ -name: Publish extension +name: Publish Chrome Extension on the Chrome Store on: release: @@ -7,7 +7,7 @@ on: jobs: upload_extension: runs-on: ubuntu-latest -# if: github.repository == 'kiegroup/kogito-tooling' + if: github.repository == 'kiegroup/kogito-tooling' steps: - uses: actions/checkout@v2 with: @@ -25,11 +25,11 @@ jobs: echo "$(node -e "console.log(require('./kogito-tooling/lerna.json').version);")" [ "${{ steps.release-tag.outputs.tag }}" == "$(node -e "console.log(require('./kogito-tooling/lerna.json').version);")" ] - - name: Download Current Extension + - name: Download Chrome Extension related to the `tag` run: | curl -vsSLJO https://github.com/kiegroup/kogito-tooling/releases/download/${{ steps.release-tag.outputs.tag }}/chrome_extension_kogito_kie_editors_${{ steps.release-tag.outputs.tag }}.zip - - name: Update Extension + - name: Upload Chrome Extension to the Chrome Store id: update_extension run: | access_token=$(curl -X POST -fsS "https://oauth2.googleapis.com/token" -d "client_id=${{ secrets.CLIENT_ID }}&client_secret=${{ secrets.CLIENT_SECRET }}&refresh_token=${{ secrets.REFRESH_TOKEN }}&grant_type=refresh_token" | jq -r '.access_token') @@ -44,17 +44,16 @@ jobs: publish_extension: needs: upload_extension runs-on: ubuntu-latest -# if: github.repository == 'kiegroup/kogito-tooling' + if: github.repository == 'kiegroup/kogito-tooling' steps: - - name: Publish Extension + - name: Publish Chrome Extension for users id: publish_extension run: | access_token=$(curl -X POST -fsS "https://oauth2.googleapis.com/token" -d "client_id=${{ secrets.CLIENT_ID }}&client_secret=${{ secrets.CLIENT_SECRET }}&refresh_token=${{ secrets.REFRESH_TOKEN }}&grant_type=refresh_token" | jq -r '.access_token') - publishResponse=$(curl -X POST -sS "https://www.googleapis.com/chromewebstore/v1.1/items/${{ secrets.EXTENSION_ID }}/publish" -H "Authorization:Bearer ${access_token}" -H "x-goog-api-version:2" -H "Content-Length:0" -H "publishTarget:trustedTesters") + publishResponse=$(curl -X POST -sS "https://www.googleapis.com/chromewebstore/v1.1/items/${{ secrets.EXTENSION_ID }}/publish" -H "Authorization:Bearer ${access_token}" -H "x-goog-api-version:2" -H "Content-Length:0") echo "$publishResponse" echo ::set-output name=publish_status::$(echo "$publishResponse" | jq -r '.status | .[0]') - name: Check Publish run: | - [ "${{ steps.update_extension.outputs.publish_status }}" == 'OK' ] - + [[ "${{ steps.update_extension.outputs.publish_status }}" == 'OK' ] || [ "${{ steps.update_extension.outputs.publish_status }}" == 'PUBLISHED_WITH_FRICTION_WARNING' ]] diff --git a/lerna.json b/lerna.json index 41a2033f31e..f3d3782f477 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.4.0", + "version": "0.4.30", "packages": [ "packages/*" ], diff --git a/packages/chrome-extension-pack-kogito-kie-editors/package.json b/packages/chrome-extension-pack-kogito-kie-editors/package.json index 6c346a956ce..b4cb25fa999 100644 --- a/packages/chrome-extension-pack-kogito-kie-editors/package.json +++ b/packages/chrome-extension-pack-kogito-kie-editors/package.json @@ -1,6 +1,6 @@ { "name": "chrome-extension-pack-kogito-kie-editors", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "repository": { @@ -8,10 +8,10 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/chrome-extension": "0.4.0", - "@kogito-tooling/kie-bc-editors": "0.4.0", - "@kogito-tooling/microeditor-envelope": "0.4.0", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.0" + "@kogito-tooling/chrome-extension": "0.4.30", + "@kogito-tooling/kie-bc-editors": "0.4.30", + "@kogito-tooling/microeditor-envelope": "0.4.30", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.30" }, "scripts": { "lint": "tslint -c ../../tslint.json 'src/**/*.{ts,tsx,js,jsx}'", diff --git a/packages/chrome-extension-pack-kogito-kie-editors/static/manifest.json b/packages/chrome-extension-pack-kogito-kie-editors/static/manifest.json index ca4a9cdedbe..015b62c28b6 100644 --- a/packages/chrome-extension-pack-kogito-kie-editors/static/manifest.json +++ b/packages/chrome-extension-pack-kogito-kie-editors/static/manifest.json @@ -1,6 +1,6 @@ { "name": "BPMN and DMN Editors :: GitHub Extension", - "version": "0.4.0", + "version": "0.4.30", "manifest_version": 2, "description": "KIE Group :: GitHub Extension", "content_scripts": [ diff --git a/packages/chrome-extension/package.json b/packages/chrome-extension/package.json index 46443b9f79f..c29bc76c875 100644 --- a/packages/chrome-extension/package.json +++ b/packages/chrome-extension/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/chrome-extension", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", @@ -13,8 +13,8 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/microeditor-envelope": "0.4.0", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.0", + "@kogito-tooling/microeditor-envelope": "0.4.30", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.30", "@octokit/rest": "16.35.0", "@types/chrome": "0.0.81", "minimatch": "3.0.4" diff --git a/packages/core-api/package.json b/packages/core-api/package.json index a7f5dd8d98a..4246deff18e 100644 --- a/packages/core-api/package.json +++ b/packages/core-api/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/core-api", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", diff --git a/packages/desktop/package.json b/packages/desktop/package.json index 063f314ad78..13974b07cb7 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/desktop", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", @@ -10,10 +10,10 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.0", - "@kogito-tooling/kie-bc-editors": "0.4.0", - "@kogito-tooling/microeditor-envelope": "0.4.0", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.0", + "@kogito-tooling/core-api": "0.4.30", + "@kogito-tooling/kie-bc-editors": "0.4.30", + "@kogito-tooling/microeditor-envelope": "0.4.30", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.30", "@patternfly/patternfly": "2.40.2", "@patternfly/react-core": "3.90.0", "@patternfly/react-icons": "3.14.7", diff --git a/packages/hub/package.json b/packages/hub/package.json index 4adf960e3b3..36aea92600c 100644 --- a/packages/hub/package.json +++ b/packages/hub/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/hub", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", @@ -10,17 +10,17 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/desktop": "0.4.0", + "@kogito-tooling/desktop": "0.4.30", "@patternfly/patternfly": "2.40.2", "@patternfly/react-core": "3.90.0", "@patternfly/react-icons": "3.14.7", "@types/react-router": "5.1.1", "@types/react-router-dom": "5.1.1", - "chrome-extension-pack-kogito-kie-editors": "0.4.0", + "chrome-extension-pack-kogito-kie-editors": "0.4.30", "electron": "7.1.9", "react-router": "5.1.1", "react-router-dom": "5.1.1", - "vscode-extension-pack-kogito-kie-editors": "0.4.0" + "vscode-extension-pack-kogito-kie-editors": "0.4.30" }, "scripts": { "start": "electron dist", diff --git a/packages/kie-bc-editors-unpacked/package.json b/packages/kie-bc-editors-unpacked/package.json index 16f280160cb..2e196df8107 100644 --- a/packages/kie-bc-editors-unpacked/package.json +++ b/packages/kie-bc-editors-unpacked/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/kie-bc-editors-unpacked", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "repository": { diff --git a/packages/kie-bc-editors/package.json b/packages/kie-bc-editors/package.json index 19edbc2e2b2..bdb579bc609 100644 --- a/packages/kie-bc-editors/package.json +++ b/packages/kie-bc-editors/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/kie-bc-editors", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", @@ -13,8 +13,8 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.0", - "@kogito-tooling/microeditor-envelope": "0.4.0" + "@kogito-tooling/core-api": "0.4.30", + "@kogito-tooling/microeditor-envelope": "0.4.30" }, "scripts": { "lint": "tslint -c ../../tslint.json 'src/**/*.{ts,tsx,js,jsx}'", diff --git a/packages/microeditor-envelope-protocol/package.json b/packages/microeditor-envelope-protocol/package.json index b2424fb931d..776308a81b8 100644 --- a/packages/microeditor-envelope-protocol/package.json +++ b/packages/microeditor-envelope-protocol/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/microeditor-envelope-protocol", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", @@ -13,7 +13,7 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.0" + "@kogito-tooling/core-api": "0.4.30" }, "scripts": { "lint": "tslint -c ../../tslint.json 'src/**/*.{ts,tsx,js,jsx}'", diff --git a/packages/microeditor-envelope/package.json b/packages/microeditor-envelope/package.json index b10154a84b1..08031ff781a 100644 --- a/packages/microeditor-envelope/package.json +++ b/packages/microeditor-envelope/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/microeditor-envelope", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", @@ -13,8 +13,8 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.0", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.0", + "@kogito-tooling/core-api": "0.4.30", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.30", "@patternfly/patternfly": "2.40.2" }, "scripts": { diff --git a/packages/online-editor/package.json b/packages/online-editor/package.json index f7aab468093..1780fd88a58 100644 --- a/packages/online-editor/package.json +++ b/packages/online-editor/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/online-editor", - "version": "0.4.0", + "version": "0.4.30", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", @@ -10,10 +10,10 @@ "url": "https://github.com/kiegroup/kogito-tooling.git" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.0", - "@kogito-tooling/kie-bc-editors": "0.4.0", - "@kogito-tooling/microeditor-envelope": "0.4.0", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.0", + "@kogito-tooling/core-api": "0.4.30", + "@kogito-tooling/kie-bc-editors": "0.4.30", + "@kogito-tooling/microeditor-envelope": "0.4.30", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.30", "@octokit/rest": "16.35.0", "@patternfly/patternfly": "2.40.2", "@patternfly/react-core": "3.90.0", diff --git a/packages/vscode-extension-pack-kogito-kie-editors/package.json b/packages/vscode-extension-pack-kogito-kie-editors/package.json index e0a16e5afe7..218423325e9 100644 --- a/packages/vscode-extension-pack-kogito-kie-editors/package.json +++ b/packages/vscode-extension-pack-kogito-kie-editors/package.json @@ -2,7 +2,7 @@ "name": "vscode-extension-pack-kogito-kie-editors", "displayName": "BPMN and DMN Editors", "description": "", - "version": "0.4.0", + "version": "0.4.30", "license": "Apache-2.0", "enableProposedApi": true, "engines": { @@ -79,11 +79,11 @@ "outputDirectory": "./target" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.0", - "@kogito-tooling/kie-bc-editors": "0.4.0", - "@kogito-tooling/kie-bc-editors-unpacked": "0.4.0", - "@kogito-tooling/microeditor-envelope": "0.4.0", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.0", - "@kogito-tooling/vscode-extension": "0.4.0" + "@kogito-tooling/core-api": "0.4.30", + "@kogito-tooling/kie-bc-editors": "0.4.30", + "@kogito-tooling/kie-bc-editors-unpacked": "0.4.30", + "@kogito-tooling/microeditor-envelope": "0.4.30", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.30", + "@kogito-tooling/vscode-extension": "0.4.30" } } diff --git a/packages/vscode-extension/package.json b/packages/vscode-extension/package.json index 07cb752b20a..a02f23de778 100644 --- a/packages/vscode-extension/package.json +++ b/packages/vscode-extension/package.json @@ -2,7 +2,7 @@ "name": "@kogito-tooling/vscode-extension", "displayName": "KIE :: Kogito Editors", "description": "", - "version": "0.4.0", + "version": "0.4.30", "license": "Apache-2.0", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -26,8 +26,8 @@ "outputDirectory": "./target" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.0", - "@kogito-tooling/microeditor-envelope": "0.4.0", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.0" + "@kogito-tooling/core-api": "0.4.30", + "@kogito-tooling/microeditor-envelope": "0.4.30", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.30" } }