Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MINOR: release.py: fix some compatibility problems.
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 <[email protected]> Reviewers: Magnus Edenhill <[email protected]>, David Arthur <[email protected]>, Manikumar Reddy <[email protected]> Closes apache#6198 from cmccabe/release_py
- Loading branch information