Skip to content

Commit

Permalink
echo all parameters and comment out the close of the repo
Browse files Browse the repository at this point in the history
Signed-off-by: Scott M Stark <starksm64@gmail.com>
  • Loading branch information
starksm64 committed Nov 17, 2020
1 parent 6b494c2 commit 45ca690
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions buildScripts/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ MODULE=${MODULE#microprofile-}
echo MODULE="${MODULE}"
echo STAGING_ID="${STAGING_ID}"
echo VERSION="${VERSION}"
echo LIST_REPOS="${LIST_REPOS}"
echo DRY_RUN="${DRY_RUN}"

# First update the pom-template.xml to a pom
mvn -f buildScripts/pom-template.xml -Dmodule=${MODULE} -DstagingID=${STAGING_ID} -Dstaged.version=${VERSION} post-clean
CMD='mvn -f buildScripts/pom-template.xml -Dmodule=${MODULE} -DstagingID=${STAGING_ID} -Dstaged.version=${VERSION} post-clean'
echo $CMD
$CMD

ls -l buildScripts

# Optionally list the staging repositories
Expand All @@ -35,5 +40,5 @@ fi
# If not DRY_RUN, close the given staging repository
if [[ ${DRY_RUN} != "true" ]]; then
echo "Releasing repositoryID=$ID"
mvn -DstagingRepositoryId="$ID" ${NEXUS_PLUGIN_PARAMS} ${NEXUS_PLUGIN}:rc-release
echo mvn -DstagingRepositoryId="$ID" ${NEXUS_PLUGIN_PARAMS} ${NEXUS_PLUGIN}:rc-release
fi

0 comments on commit 45ca690

Please sign in to comment.