File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ jobs:
225225 # Add package versions to workspace changelog (using parsable format instead of JSON)
226226 echo "### 📦 Updated Packages" >> CHANGELOG.md
227227 echo "" >> CHANGELOG.md
228- melos list --no-private --long | while read -r line; do
228+ melos list --no-private --long | grep -E "^[a-zA-Z_][a-zA-Z0-9_]* [0-9]" | while read -r line; do
229229 if [ -n "$line" ]; then
230230 package_name=$(echo "$line" | awk '{print $1}')
231231 package_version=$(echo "$line" | awk '{print $2}')
@@ -239,12 +239,12 @@ jobs:
239239 run : |
240240 # Create tags for versioned packages (using long format instead of JSON)
241241 echo "🏷️ Creating release tags..."
242-
243- melos list --no-private --long | while read -r line; do
242+
243+ melos list --no-private --long | grep -E "^[a-zA-Z_][a-zA-Z0-9_]* [0-9]" | while read -r line; do
244244 if [ -n "$line" ]; then
245245 package_name=$(echo "$line" | awk '{print $1}')
246246 package_version=$(echo "$line" | awk '{print $2}')
247-
247+
248248 if [ -n "$package_name" ] && [ -n "$package_version" ]; then
249249 echo "Creating tag for $package_name@$package_version"
250250 git tag "$package_name@$package_version" -m "Release $package_name version $package_version"
You can’t perform that action at this time.
0 commit comments