diff --git a/.github/workflows/publish_chrome_ext.yml b/.github/workflows/publish_chrome_ext.yml index f9ad62b97a1..26b0456137e 100644 --- a/.github/workflows/publish_chrome_ext.yml +++ b/.github/workflows/publish_chrome_ext.yml @@ -28,9 +28,12 @@ jobs: - name: Update Extension id: update_extension run: | - curl -vsSLJO https://github.com/kiegroup/kogito-tooling/releases/download/0.4.1/chrome_extension_kogito_kie_editors_0.4.1.zip + curl -sSLJO https://github.com/kiegroup/kogito-tooling/releases/download/0.4.1/chrome_extension_kogito_kie_editors_0.4.1.zip + ls -la 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") - uploadResponse=$(curl -X PUT -v "https://www.googleapis.com/upload/chromewebstore/v1.1/items/${{ secrets.EXTENSION_ID }}" -H "Authorization:Bearer ${access_token}" -H "x-goog-api-version:2" -T ./chrome_extension_kogito_kie_editors_0.4.1.zip) + ls -la + uploadResponse=$(curl -X PUT "https://www.googleapis.com/upload/chromewebstore/v1.1/items/dcipajboknkkijobafnillgfmpcibjbi" -H "Authorization:Bearer ${access_token}" -H "x-goog-api-version:2" -T ./chrome_extension_kogito_kie_editors_0.4.1.zip) + ls -la echo "$uploadResponse" echo ::set-output name=upload_status::$(echo "$uploadResponse" | jq -r '.uploadState') diff --git a/lerna.json b/lerna.json index e4f0730ca33..405fae18393 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.4.21", + "version": "0.4.22", "packages": [ "packages/*" ], diff --git a/packages/chrome-extension-pack-kogito-kie-editors/chrome_extension_kogito_kie_editors_0.4.1.zip b/packages/chrome-extension-pack-kogito-kie-editors/chrome_extension_kogito_kie_editors_0.4.1.zip index 35e26898915..a16772809c5 100644 Binary files a/packages/chrome-extension-pack-kogito-kie-editors/chrome_extension_kogito_kie_editors_0.4.1.zip and b/packages/chrome-extension-pack-kogito-kie-editors/chrome_extension_kogito_kie_editors_0.4.1.zip differ diff --git a/packages/chrome-extension-pack-kogito-kie-editors/package.json b/packages/chrome-extension-pack-kogito-kie-editors/package.json index 0ec091ffbdc..f5b4f79dde3 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.21", + "version": "0.4.22", "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.21", - "@kogito-tooling/kie-bc-editors": "0.4.21", - "@kogito-tooling/microeditor-envelope": "0.4.21", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.21" + "@kogito-tooling/chrome-extension": "0.4.22", + "@kogito-tooling/kie-bc-editors": "0.4.22", + "@kogito-tooling/microeditor-envelope": "0.4.22", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.22" }, "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 d4f7b6277f5..874a1f0cca1 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.21", + "version": "0.4.22", "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 d1445100daa..730bf09983d 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.21", + "version": "0.4.22", "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.21", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.21", + "@kogito-tooling/microeditor-envelope": "0.4.22", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.22", "@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 2fff561b159..770670a0cb6 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.21", + "version": "0.4.22", "description": "", "license": "Apache-2.0", "main": "./dist/index.js", diff --git a/packages/desktop/package.json b/packages/desktop/package.json index 879f087d81e..347ba42a54b 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/desktop", - "version": "0.4.21", + "version": "0.4.22", "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.21", - "@kogito-tooling/kie-bc-editors": "0.4.21", - "@kogito-tooling/microeditor-envelope": "0.4.21", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.21", + "@kogito-tooling/core-api": "0.4.22", + "@kogito-tooling/kie-bc-editors": "0.4.22", + "@kogito-tooling/microeditor-envelope": "0.4.22", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.22", "@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 e41fddf7c05..9ccc9955663 100644 --- a/packages/hub/package.json +++ b/packages/hub/package.json @@ -1,6 +1,6 @@ { "name": "@kogito-tooling/hub", - "version": "0.4.21", + "version": "0.4.22", "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.21", + "@kogito-tooling/desktop": "0.4.22", "@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.21", + "chrome-extension-pack-kogito-kie-editors": "0.4.22", "electron": "7.1.9", "react-router": "5.1.1", "react-router-dom": "5.1.1", - "vscode-extension-pack-kogito-kie-editors": "0.4.21" + "vscode-extension-pack-kogito-kie-editors": "0.4.22" }, "scripts": { "start": "electron dist", diff --git a/packages/kie-bc-editors-unpacked/package.json b/packages/kie-bc-editors-unpacked/package.json index e49fcf3873c..0302de051f0 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.21", + "version": "0.4.22", "description": "", "license": "Apache-2.0", "repository": { diff --git a/packages/kie-bc-editors/package.json b/packages/kie-bc-editors/package.json index 7a9a0ec0e47..1840bbe6f50 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.21", + "version": "0.4.22", "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.21", - "@kogito-tooling/microeditor-envelope": "0.4.21" + "@kogito-tooling/core-api": "0.4.22", + "@kogito-tooling/microeditor-envelope": "0.4.22" }, "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 f9712ceb700..f6deba9431e 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.21", + "version": "0.4.22", "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.21" + "@kogito-tooling/core-api": "0.4.22" }, "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 382a4410721..f98a660f78e 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.21", + "version": "0.4.22", "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.21", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.21", + "@kogito-tooling/core-api": "0.4.22", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.22", "@patternfly/patternfly": "2.40.2" }, "scripts": { diff --git a/packages/online-editor/package.json b/packages/online-editor/package.json index 72ec2646f4d..704510419c2 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.21", + "version": "0.4.22", "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.21", - "@kogito-tooling/kie-bc-editors": "0.4.21", - "@kogito-tooling/microeditor-envelope": "0.4.21", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.21", + "@kogito-tooling/core-api": "0.4.22", + "@kogito-tooling/kie-bc-editors": "0.4.22", + "@kogito-tooling/microeditor-envelope": "0.4.22", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.22", "@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 c892e2c94fc..fad1461be39 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.21", + "version": "0.4.22", "license": "Apache-2.0", "enableProposedApi": true, "engines": { @@ -79,11 +79,11 @@ "outputDirectory": "./target" }, "dependencies": { - "@kogito-tooling/core-api": "0.4.21", - "@kogito-tooling/kie-bc-editors": "0.4.21", - "@kogito-tooling/kie-bc-editors-unpacked": "0.4.21", - "@kogito-tooling/microeditor-envelope": "0.4.21", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.21", - "@kogito-tooling/vscode-extension": "0.4.21" + "@kogito-tooling/core-api": "0.4.22", + "@kogito-tooling/kie-bc-editors": "0.4.22", + "@kogito-tooling/kie-bc-editors-unpacked": "0.4.22", + "@kogito-tooling/microeditor-envelope": "0.4.22", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.22", + "@kogito-tooling/vscode-extension": "0.4.22" } } diff --git a/packages/vscode-extension/package.json b/packages/vscode-extension/package.json index fb4d8adc00d..33c8da30356 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.21", + "version": "0.4.22", "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.21", - "@kogito-tooling/microeditor-envelope": "0.4.21", - "@kogito-tooling/microeditor-envelope-protocol": "0.4.21" + "@kogito-tooling/core-api": "0.4.22", + "@kogito-tooling/microeditor-envelope": "0.4.22", + "@kogito-tooling/microeditor-envelope-protocol": "0.4.22" } }