You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Kevin Sweeney (JIRA)" <ji...@apache.org> on 2014/07/28 19:46:39 UTC
[jira] [Created] (AURORA-607) release script is broken
Kevin Sweeney created AURORA-607:
------------------------------------
Summary: release script is broken
Key: AURORA-607
URL: https://issues.apache.org/jira/browse/AURORA-607
Project: Aurora
Issue Type: Bug
Components: Build
Reporter: Kevin Sweeney
Assignee: Jake Farrell
Fix For: 0.6.0
When attempting to release 0.5.0-rc2 as 0.5.0 I discovered the release script is broken.
I first got the following error:
{noformat}
% ./build-support/release/release -r 2
ERROR: .auroraversion can not be a 'SNAPSHOT', it is 0.5.0-RC2
{noformat}
After fixing this issue with
{noformat}
-if ! [[ $current_version =~ .*-SNAPSHOT ]]; then
+if [[ $current_version =~ .*-SNAPSHOT ]]; then
{noformat}
I get a new error:
{noformat}
~aurora git aurora/. 0.5.0-rc2 U
% ./build-support/release/release -r 2
ERROR: Please run from a clean master.
{noformat}
Removing that check (after verifying the only thing to change is the release script)
{noformat}
-if [[ -n "`git status --porcelain`" ]]; then
+if false; then
{noformat}
It appears to be checking for the -rc tag instead of the release tag
{noformat}
% ./build-support/release/release -r 2
ERROR: 0.5.0-RC2 tag exists.
{noformat}
Additionally it appears to have incorrect syntax:
{noformat}
bash -n ./build-support/release/release
./build-support/release/release: line 144: syntax error near unexpected token `else'
./build-support/release/release: line 144: `else'
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)