Add logic to skip closing the Nexus staging repo 25/33525/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 26 Jan 2016 02:06:12 +0000 (21:06 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 26 Jan 2016 02:08:08 +0000 (21:08 -0500)
commite0de0eeb4cb60dede6c87c746888640b5b27ea0d
tree5ec8a97f7aa93cb0a18caa209a601737773bd7f2
parenta8d0c8e2c67e9bd0799a72df7e215d18fdd22015
Add logic to skip closing the Nexus staging repo

In order to sign artifacts we need to skip closing the staging repo
after it is produced. This allows the gpg key signatures to be uploaded
into the staging repo.

This patch uses the existing DATESTAMP variable to determine if the
staging repo should be created open or closed. If a DATESTAMP is
true then close the staging repo, otherwise it is likely a release
candidate so skip closing the staging repo.

Change-Id: I2330c467824c0b50d70923aedbe20e56ac9cb0e9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/include-raw-autorelease-maven-deploy.sh