[jira] [Created] (FLINK-9888) Remove unsafe defaults from release scripts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-9888) Remove unsafe defaults from release scripts

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-9888:
---------------------------------------

             Summary: Remove unsafe defaults from release scripts
                 Key: FLINK-9888
                 URL: https://issues.apache.org/jira/browse/FLINK-9888
             Project: Flink
          Issue Type: Bug
          Components: Release System
    Affects Versions: 1.5.1, 1.6.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler


Several variables in the release scripts have unsafe defaults, like these from {{create_release_branch.sh}}:
{code}
OLD_VERSION=${OLD_VERSION:-1.2-SNAPSHOT}
NEW_VERSION=${NEW_VERSION:-1.3-SNAPSHOT}
{code}

We should not allow the script to run successfully without these being explicitly set.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)