dominikriemer opened a new issue, #668:
URL: https://github.com/apache/streampipes/issues/668

   Hi,
   
   I tried the installer/upgrade_versions.sh and get an exception when the 
README.md s are processed. "sed: -e expression #1, char XX: Invalid preceding 
regular expression".
   
   I used
   
      sed (GNU sed) 4.8 on Windows
      sed (GNU sed) 4.7 on Ubuntu 20.04.3 LTS.
   
    
   
   If I escape the asterisk it works for me.
   
     Old:  sed -i 's/**Current version:** .*/**Current version:** 
'$NEW_VERSION'/g' ./$opt/README.md
   
    New:  sed -i 's/\*\*Current version:\*\* .*/\*\*Current version:\*\* 
'$NEW_VERSION'/g' ./$opt/README.md
   
    
   
   Do you know if this is a geral solution or just for my environments?
   
   Imported from Jira 
[STREAMPIPES-536](https://issues.apache.org/jira/browse/STREAMPIPES-536). 
Original Jira may contain additional context.
   Reported by: obermeier.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to