Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Right now if you try to run the release scripts on a new major version, e.g. one without a RELEASENOTES.md and CHANGES.md things fail:
/opt/hbase-rm/output + sed -i -e '/^## Release 3.0.0-alpha-1/,/^## Release/ {//!d; /^## Release 3.0.0-alpha-1/d;}' /opt/hbase-rm/output/hbase/CHANGES.md sed: can't read /opt/hbase-rm/output/hbase/CHANGES.md: No such file or directory + true + sed -i -e '/^# HBASE 3.0.0-alpha-1 Release Notes/,/^# HBASE/{//!d; /^# HBASE 3.0.0-alpha-1 Release Notes/d;}' /opt/hbase-rm/output/hbase/RELEASENOTES.md sed: can't read /opt/hbase-rm/output/hbase/RELEASENOTES.md: No such file or directory + true + sed -i -e '/## Release/,$!d' CHANGELOG.3.0.0-alpha-1.md + sed -i -e '/DO NOT REMOVE/r CHANGELOG.3.0.0-alpha-1.md' /opt/hbase-rm/output/hbase/CHANGES.md sed: can't read /opt/hbase-rm/output/hbase/CHANGES.md: No such file or directory + cleanup
instead we should just create the new files.
Attachments
Issue Links
- links to