publish_release.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 28a4d9fb152a7a47cd6155e02829e26c4e9f3ed0
Merge: d88132f 2e5d10c
Author: John Sanda <jsanda(a)redhat.com>
Date: Fri Apr 29 11:04:15 2011 -0400
Merge branch 'release-4.0.0' of
ssh://git.fedorahosted.org/git/rhq/rhq into
release-4.0.0
commit d88132f9bd9fa5f34c25464a244e1264598cd67c
Author: John Sanda <jsanda(a)redhat.com>
Date: Fri Apr 29 11:03:38 2011 -0400
Uncomment if block to allow maven to deploy artifacts
diff --git a/publish_release.sh b/publish_release.sh
index d293eb9..2fadf77 100755
--- a/publish_release.sh
+++ b/publish_release.sh
@@ -196,11 +196,11 @@ if [ -z "$MAVEN_LOCAL_REPO_PURGE_INTERVAL_HOURS" ]; then
MAVEN_LOCAL_REPO_PURGE_INTERVAL_HOURS="6"
fi
-#if [ "$MODE" = "production" ] && [ "$RELEASE_TYPE"
= "community" ]; then
-# MAVEN_RELEASE_PERFORM_GOAL="deploy"
-#else
+if [ "$MODE" = "production" ] && [ "$RELEASE_TYPE"
= "community" ]; then
+ MAVEN_RELEASE_PERFORM_GOAL="deploy"
+else
MAVEN_RELEASE_PERFORM_GOAL="install"
-#fi
+fi
# Set the system character encoding to ISO-8859-1 to ensure i18log reads its