Skip to content

Commit 4f39f7d

Browse files
authored
Merge pull request #1884 from wheels-dev/claude/apply-workflow-updates-L0mJQ
Fix broken workflow paths for flat repo structure
2 parents 6515ff9 + 1d5e8e5 commit 4f39f7d

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/release-candidate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
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

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ jobs:
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)

.github/workflows/version-bump.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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)' \
@@ -72,7 +72,7 @@ jobs:
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
@@ -93,6 +93,6 @@ jobs:
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

0 commit comments

Comments
 (0)