File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 2929 - name : Setup Environment Variables For Build Process
3030 id : Calculate-Version-And-Branch
3131 run : |
32- cd ./templates/base/src
3332 pwd
3433 cat box.json
3534
Original file line number Diff line number Diff line change 3535 - name : Setup Environment Variables For Build Process
3636 id : Calculate-Version-And-Branch
3737 run : |
38- cd ./templates/base/src
3938 pwd
4039 cat box.json
4140 BASE_VERSION=$(cat box.json | jq '.version' -r)
Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ jobs:
4949 run : |
5050 echo "Updating to version: $NEW_VERSION"
5151
52- # Update templates/base/src/ box.json
52+ # Update box.json
5353 jq --arg version "$NEW_VERSION" '.version = $version | .dependencies."wheels-core" = ("^" + $version)' \
54- templates/base/src/ box.json > templates/base/src/ box.json.tmp
55- mv templates/base/src/ box.json.tmp templates/base/src/ box.json
54+ box.json > box.json.tmp
55+ mv box.json.tmp box.json
5656
5757 # Update examples/starter-app/box.json
5858 jq --arg version "$NEW_VERSION" '.version = $version | .dependencies."wheels-core" = ("^" + $version)' \
7272 env :
7373 NEW_VERSION : ${{ github.event.inputs.new_version }}
7474 run : |
75- git add templates/base/src/ box.json
75+ git add box.json
7676 git add examples/starter-app/box.json
7777 git add CHANGELOG.md
7878
9393 echo "**Bump Type:** $BUMP_TYPE" >> $GITHUB_STEP_SUMMARY
9494 echo "" >> $GITHUB_STEP_SUMMARY
9595 echo "### Files Updated:" >> $GITHUB_STEP_SUMMARY
96- echo "- templates/base/src/ box.json" >> $GITHUB_STEP_SUMMARY
96+ echo "- box.json" >> $GITHUB_STEP_SUMMARY
9797 echo "- examples/starter-app/box.json" >> $GITHUB_STEP_SUMMARY
9898 echo "- CHANGELOG.md (auto-generated from merged PRs)" >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments