[ https://issues.apache.org/jira/browse/HBASE-24393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Busbey updated HBASE-24393: -------------------------------- Fix Version/s: 3.0.0-alpha-1 Resolution: Fixed Status: Resolved (was: Patch Available) > release scripts should allow for creation of initial CHANGES/RELEASE on new > major version. > ------------------------------------------------------------------------------------------ > > Key: HBASE-24393 > URL: https://issues.apache.org/jira/browse/HBASE-24393 > Project: HBase > Issue Type: Bug > Components: community > Reporter: Sean Busbey > Assignee: Sean Busbey > Priority: Minor > Fix For: 3.0.0-alpha-1 > > > 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: > {code} > /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 > {code} > instead we should just create the new files. -- This message was sent by Atlassian Jira (v8.3.4#803005)