[ 
https://issues.apache.org/jira/browse/HADOOP-10313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13887263#comment-13887263
 ] 

stack commented on HADOOP-10313:
--------------------------------

Alejandro, you want to add a bit of a comment on the head of the script 
explaining what it does and in which context it is used (should you say how to 
use it since it takes a RC_LABEL)? 

I tried the below manually and it works nicely:

HADOOP_VERSION=`cat pom.xml | grep "<version>" | head -1 | sed 's|^ 
*<version>||' | sed 's|</version>.*$||'`

nit: remove the 'for' in following if you are going to make an new version: 
"version for to" (from a comment).

I suppose you have the md5 so can check when you download so you have some 
security about what it is that you are signing.

Otherwise looks great [~tucu00].  We have scripts building a release.  We 
should try and do as you do here and hoist them up to jenkins too.

> Script and jenkins job to produce Hadoop release artifacts
> ----------------------------------------------------------
>
>                 Key: HADOOP-10313
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10313
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.3.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: create-release.sh
>
>
> As discussed in the dev mailing lists, we should have a jenkins job to build 
> the release artifacts.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to