File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change 80
80
- name : Bump package versions to tag
81
81
if : steps.check-tag.outputs.triggered-by-tag == 'true'
82
82
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
106
85
107
86
- name : Generate release notes
108
87
if : steps.check-tag.outputs.triggered-by-tag == 'true'
You can’t perform that action at this time.
0 commit comments