Skip to content

Commit

Permalink
[Fix] Prepare for 1.21 release (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
psamusev authored Feb 28, 2025
1 parent 1850449 commit e2f3d88
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 48 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/production-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@ jobs:
yarn install
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_SECRET }}
# - name: Bump version locally
# run: |
# git config --global user.name 'github-actions[bot]'
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# git fetch origin
# git checkout -B main origin/main
# npm version patch --no-git-tag-version
- name: Bump version locally
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git fetch origin
git checkout -B main origin/main
npm version patch --no-git-tag-version
- name: build code
run: yarn build
# - name: Commit version changes
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# git add package.json yarn.lock
# git commit -m "CI: Bump version to $(jq -r .version < package.json) [skip ci]" --allow-empty
# git push origin main --follow-tags
- name: Commit version changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git add package.json yarn.lock
git commit -m "CI: Bump version to $(jq -r .version < package.json) [skip ci]" --allow-empty
git push origin main --follow-tags
- name: copy file branch
run: |
export CURRENT_PACKAGE_VERSION=$(node --eval="var pjson = require('./package.json');console.log(pjson.version);")
Expand All @@ -65,32 +65,32 @@ jobs:
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
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# git config --global user.name 'github-actions[bot]'
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# git fetch origin
# git checkout -B main origin/main
# npm version preminor --no-git-tag-version
# git add package.json yarn.lock
# git commit -m "CI: Bump version to $(jq -r .version < package.json) [skip ci]" --allow-empty
# git push origin main --follow-tags
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git fetch origin
git checkout -B main origin/main
npm version preminor --no-git-tag-version
git add package.json yarn.lock
git commit -m "CI: Bump version to $(jq -r .version < package.json) [skip ci]" --allow-empty
git push origin main --follow-tags
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@babel/preset-env": "^7.25.3",
"@chili-publish/grafx-shared-components": "^0.92.1",
"@chili-publish/studio-sdk": "1.20.1",
"@chili-publish/studio-sdk": "1.21.0",
"@fortawesome/fontawesome-svg-core": "^6.7.1",
"@fortawesome/pro-light-svg-icons": "^6.7.1",
"@fortawesome/pro-regular-svg-icons": "^6.7.1",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1312,10 +1312,10 @@
resolved "https://npm.pkg.github.com/download/@chili-publish/grafx-shared-components/0.92.2/44cb9664fbc2250d0e021abcd0d89955a5deac26#44cb9664fbc2250d0e021abcd0d89955a5deac26"
integrity sha512-Vc+56HLvZmNQBfAbZ+dVm8Je6c0uVr+1XpWsWH7DEmrO7dDgWRx0l2dOq+v9ZQxGZpZaKeUtn4XQ0n1dGZpPXw==

"@chili-publish/studio-sdk@1.20.1":
version "1.20.1"
resolved "https://npm.pkg.github.com/download/@chili-publish/studio-sdk/1.20.1/6ac44111daab629390710b3927583f13a5b35529#6ac44111daab629390710b3927583f13a5b35529"
integrity sha512-q0p8xewbxDIjoWGTiE9WjB4ZQMeNAY1RPmz/wt60lFkWN84bciMrL3rs9OrQqmXp7FVpD6Z3MP9ihLRprIO2vg==
"@chili-publish/studio-sdk@1.21.0":
version "1.21.0"
resolved "https://npm.pkg.github.com/download/@chili-publish/studio-sdk/1.21.0/0463d8ae5fef026113209327be662d1e17372515#0463d8ae5fef026113209327be662d1e17372515"
integrity sha512-gDuEE5/BagdLy5YVKEI4bgqpuvAh9Z+Rzl8hoz22glkcQbduyB//1F95S9EcDKcD3By9+cGX1BnUrrZOrLOJQA==
dependencies:
penpal "6.1.0"

Expand Down

0 comments on commit e2f3d88

Please sign in to comment.