Tony CHEMIT pushed to branch develop at ultreia.io / ird-observe

Commits:

1 changed file:

Changes:

  • bin/stage_create.sh
    ... ... @@ -29,7 +29,7 @@ if [ ! "$?" == "0" ]; then
    29 29
        exit 1
    
    30 30
     fi
    
    31 31
     echo "Get staging id..."
    
    32
    -STAGE_ID=$(mvn nexus-staging:rc-list -N | grep ${STAGE} | cut -d' ' -f2)
    
    32
    +STAGE_ID=$(mvn nexus-staging:rc-list -N | grep ${STAGE} | cut -d' ' -f2 | awk '/./{line=$0} END{print line}')
    
    33 33
     
    
    34 34
     echo "Closing stage: $STAGE_ID ($LOG_DIR/release-close.log)"
    
    35 35
     mvn nexus-staging:close -N -DstagingRepositoryId=${STAGE_ID} --log-file ${LOG_DIR}/release-close.log