aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AURORA-607) release script is broken
Date Fri, 10 Oct 2014 22:07:35 GMT

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

Bill Farner resolved AURORA-607.
--------------------------------
    Resolution: Fixed

> release script is broken
> ------------------------
>
>                 Key: AURORA-607
>                 URL: https://issues.apache.org/jira/browse/AURORA-607
>             Project: Aurora
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 0.6.0
>            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.3.4#6332)

Mime
View raw message