Browse Source
Rather than using sed, use built-in Python regular expressions to strip the SNAPSHOT expression from the pom.xml files. Sed has different flags on different platforms, such as Linux. Using Python directly here is more compatible, as well as being more efficient, and not requiring an rm command afterwards. When running release_notes.py, use the current Python interpreter. This is needed to prevent attempting to run release_notes.py with Python 3 on some systems. release_notes.py will not (yet) work with Python 3. Author: Colin P. Mccabe <cmccabe@confluent.io> Reviewers: Magnus Edenhill <magnus@edenhill.se>, David Arthur <mumrah@gmail.com>, Manikumar Reddy <manikumar.reddy@gmail.com> Closes #6198 from cmccabe/release_pypull/6235/head
Colin P. Mccabe
6 years ago
committed by
Manikumar Reddy
1 changed files with 22 additions and 7 deletions
Loading…
Reference in new issue