Skip to content

Commit f376b70

Browse files
committed
chore: adjust build
1 parent f27f9a4 commit f376b70

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -80,29 +80,8 @@ jobs:
8080
- name: Bump package versions to tag
8181
if: steps.check-tag.outputs.triggered-by-tag == 'true'
8282
run: |
83-
echo "Updating all package.json files to version: ${{ steps.check-tag.outputs.version }}"
84-
85-
# Update root package.json
86-
npm version ${{ steps.check-tag.outputs.version }} --no-git-tag-version
87-
88-
# Update all package.json files in packages/*
89-
for package_dir in packages/*/; do
90-
if [ -f "${package_dir}package.json" ]; then
91-
echo "Updating version in ${package_dir}package.json"
92-
cd "$package_dir"
93-
npm version ${{ steps.check-tag.outputs.version }} --no-git-tag-version
94-
cd - > /dev/null
95-
fi
96-
done
97-
98-
# Show updated versions for verification
99-
echo "Updated versions:"
100-
echo "Root: $(grep '"version"' package.json)"
101-
for package_dir in packages/*/; do
102-
if [ -f "${package_dir}package.json" ]; then
103-
echo "${package_dir}: $(grep '"version"' ${package_dir}package.json)"
104-
fi
105-
done
83+
pnpm version ${{ steps.check-tag.outputs.version }} --no-git-tag-version
84+
pnpm build
10685
10786
- name: Generate release notes
10887
if: steps.check-tag.outputs.triggered-by-tag == 'true'

0 commit comments

Comments
 (0)