Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Prepare for 1.21 release #298

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading