File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -363,16 +363,16 @@ jobs:
363363 # Debugging output
364364 echo "WCM_CORE_COMPONENTS_VERSION: $WCM_CORE_COMPONENTS_VERSION"
365365
366- echo "Before sed: $(cat VERSIONS.md)"
366+ # echo "Before sed: $(cat VERSIONS.md)"
367367 # update versions.md
368368 sed -i "/$LAST_VERSION/ { p; b; }; 1,/$LAST_VERSION/ { p; d; }" VERSIONS.md
369- sed -i -E "0,/(\| $LAST_VERSION\s*\|) [0-9]+\.[0-9]+\.[0-9]+\s*\|/s//| $NEW_VERSION \| $WCM_CORE_COMPONENTS_VERSION |/" VERSIONS.md
370- echo "After sed: $(cat VERSIONS.md)"
369+ sed -i -E "0,/(\| $LAST_VERSION\s*\|) [0-9]+\.[0-9]+\.[0-9]+\+?\ s*\|/s//| $NEW_VERSION \| $WCM_CORE_COMPONENTS_VERSION |/" VERSIONS.md
370+ # echo "After sed: $(cat VERSIONS.md)"
371371
372- echo "Before sed: $(cat README.md)"
372+ # echo "Before sed: $(cat README.md)"
373373 # update readme.md
374- sed -i -E "s/(\| $LAST_VERSION\s*\|) [0-9]+\.[0-9]+\.[0-9]+ \s*\| /| $NEW_VERSION | $WCM_CORE_COMPONENTS_VERSION | /g" README.md
375- echo "After sed: $(cat README.md)"
374+ sed -i -E "s/(\| $LAST_VERSION\s*\|) [0-9]+\.[0-9]+\.[0-9]+\+? \s*\| /| $NEW_VERSION | $WCM_CORE_COMPONENTS_VERSION | /g" README.md
375+ # echo "After sed: $(cat README.md)"
376376
377377 # Check if package-lock.json is modified
378378 if [[ $(git status --porcelain | grep "package-lock.json") ]]; then
You can’t perform that action at this time.
0 commit comments