Skip to content

Commit

Permalink
Bump up version to 0.4.30
Browse files Browse the repository at this point in the history
  • Loading branch information
ljmotta committed Apr 29, 2020
1 parent 8340262 commit 35d8828
Show file tree
Hide file tree
Showing 15 changed files with 53 additions and 54 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/publish_chrome_ext.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish extension
name: Publish Chrome Extension on the Chrome Store

on:
release:
Expand All @@ -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:
Expand All @@ -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')
Expand All @@ -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' ]]
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.4.0",
"version": "0.4.30",
"packages": [
"packages/*"
],
Expand Down
10 changes: 5 additions & 5 deletions packages/chrome-extension-pack-kogito-kie-editors/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "chrome-extension-pack-kogito-kie-editors",
"version": "0.4.0",
"version": "0.4.30",
"description": "",
"license": "Apache-2.0",
"repository": {
"type": "git",
"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}'",
Expand Down
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
6 changes: 3 additions & 3 deletions packages/chrome-extension/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/core-api/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 5 additions & 5 deletions packages/desktop/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions packages/hub/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/kie-bc-editors-unpacked/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions packages/kie-bc-editors/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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}'",
Expand Down
4 changes: 2 additions & 2 deletions packages/microeditor-envelope-protocol/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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}'",
Expand Down
6 changes: 3 additions & 3 deletions packages/microeditor-envelope/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
10 changes: 5 additions & 5 deletions packages/online-editor/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand Down
14 changes: 7 additions & 7 deletions packages/vscode-extension-pack-kogito-kie-editors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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"
}
}
8 changes: 4 additions & 4 deletions packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
}

0 comments on commit 35d8828

Please sign in to comment.