[Git][ultreia.io/ird-observe][develop] improve release script
Tony CHEMIT pushed to branch develop at ultreia.io / ird-observe Commits: 0e588de8 by Tony CHEMIT at 2017-03-10T00:26:35+01:00 improve release script - - - - - 1 changed file: - bin/stage_create.sh Changes: ===================================== bin/stage_create.sh ===================================== --- a/bin/stage_create.sh +++ b/bin/stage_create.sh @@ -29,7 +29,7 @@ if [ ! "$?" == "0" ]; then exit 1 fi echo "Get staging id..." -STAGE_ID=$(mvn nexus-staging:rc-list -N | grep ${STAGE} | cut -d' ' -f2) +STAGE_ID=$(mvn nexus-staging:rc-list -N | grep ${STAGE} | cut -d' ' -f2 | awk '/./{line=$0} END{print line}') echo "Closing stage: $STAGE_ID ($LOG_DIR/release-close.log)" mvn nexus-staging:close -N -DstagingRepositoryId=${STAGE_ID} --log-file ${LOG_DIR}/release-close.log View it on GitLab: https://gitlab.com/ultreia.io/ird-observe/commit/0e588de8a6a19dcfce114f7520f...
participants (1)
-
Tony CHEMIT