You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (Jira)" <ji...@apache.org> on 2020/05/18 05:58:00 UTC

[jira] [Updated] (HBASE-24393) release scripts should allow for creation of initial CHANGES/RELEASE on new major version.

     [ https://issues.apache.org/jira/browse/HBASE-24393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Busbey updated HBASE-24393:
--------------------------------
    Status: Patch Available  (was: In Progress)

> 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
>
> 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)