Skip to content

Commit

Permalink
[Fix] Bump SDK version to 1.13.x (#180)
Browse files Browse the repository at this point in the history
Co-authored-by: Brian Roels <54845569+brapoprod@users.noreply.github.com>
  • Loading branch information
psamusev and brapoprod authored Aug 6, 2024
1 parent 0b5dbba commit 9de72cc
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dev-stg-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,5 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_SECRET }}
with:
commit-message: 'CI: bumps version to {{version}} [skip ci]'
version-type: 'prerelease'

37 changes: 37 additions & 0 deletions .github/workflows/production-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
run: yarn cover
- name: build code
run: yarn build
- name: bump version
uses: phips28/gh-action-bump-version@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_SECRET }}
with:
commit-message: 'Release CI: bumps version to {{version}} [skip ci]'
version-type: 'patch'
- name: copy file branch
run: |
export CURRENT_PACKAGE_VERSION=$(node --eval="var pjson = require('./package.json');console.log(pjson.version);")
Expand All @@ -53,3 +61,32 @@ jobs:
with:
inlineScript: |
az storage blob upload-batch -d studio-ui -s upload/ --connection-string "${{ secrets.AZURE_CDN_STUDIO_PRD_CONNECTION_STRING }}" --overwrite true
bump-version:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps:
- uses: FranzDiebold/github-env-vars-action@v2
- uses: actions/checkout@v3
with:
token: ${{ secrets.PACKAGE_SECRET }}
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
scope: '@chili-publish'
- name: bump version
uses: phips28/gh-action-bump-version@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_SECRET }}
with:
commit-message: 'CI: bumps version to {{version}} [skip ci]'
version-type: 'preminor'



2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ for a more advanced example, and extra information about building an integration

### Tools setup

- [Node 20](https://nodejs.org/en) LTS
- [Node LTS version](https://nodejs.org/en) is installed
> node -v # to check existing node version
- [Yarn v1.22.19](https://classic.yarnpkg.com/lang/en/docs/install/) or newer is installed (yarn `major version 1` though)
> yarn -v # to check existing yarn version
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "studio-ui",
"private": true,
"version": "1.12.5",
"version": "1.13.0-rc.0",
"type": "module",
"description": "The Studio UI for CHILI GraFx",
"main": "src/main.tsx",
Expand All @@ -25,7 +25,7 @@
},
"dependencies": {
"@chili-publish/grafx-shared-components": "^0.71.2",
"@chili-publish/studio-sdk": "^1.12.2",
"@chili-publish/studio-sdk": "^1.13.0",
"axios": "^1.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,10 @@
react-datepicker "^7.1.0"
react-select "^5.6.1"

"@chili-publish/studio-sdk@^1.12.2":
version "1.12.2"
resolved "https://npm.pkg.github.com/download/@chili-publish/studio-sdk/1.12.2/0e00e8ae64540dac327e6428c163c8f53859628b#0e00e8ae64540dac327e6428c163c8f53859628b"
integrity sha512-SQIv5YW+XKxUw4djppBbRm4VFF23ZAw+AIrM2gW6gxQMM06L2ZvlB2BMClVWO/tK0YtD/4IdM2Xmu2KktSvlqA==
"@chili-publish/studio-sdk@^1.13.0":
version "1.13.0"
resolved "https://npm.pkg.github.com/download/@chili-publish/studio-sdk/1.13.0/b5a0095b575297adb24b54bc237d2c385c1e8df6#b5a0095b575297adb24b54bc237d2c385c1e8df6"
integrity sha512-Y2vqmoQhBZHth6r1HpxfXZtYSPFJQIPP7snIQd8eN2QE9y5L/ygaLltl1C8825AQizzQmXcv5d1wzIjPLvdzRQ==
dependencies:
penpal "6.1.0"

Expand Down

0 comments on commit 9de72cc

Please sign in to comment.