From 4a8d9f666506e2b189dc0c8bfed705f2930252a4 Mon Sep 17 00:00:00 2001 From: Erich Douglass Date: Tue, 6 Jan 2015 15:55:56 -0800 Subject: Deploy all artifacts to Sonatype at once so that the SNAPSHOT versions match. --- scripts/install-robolectric.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/install-robolectric.sh') diff --git a/scripts/install-robolectric.sh b/scripts/install-robolectric.sh index 64960adad..75e15051a 100755 --- a/scripts/install-robolectric.sh +++ b/scripts/install-robolectric.sh @@ -5,6 +5,7 @@ set -e PROJECT=$(cd $(dirname "$0")/..; pwd) # Build everything +cd "$PROJECT"; mvn clean -Pdist cd "$PROJECT"; mvn clean install -DskipTests # Build older shadow packages @@ -15,4 +16,4 @@ cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity inst cd "$PROJECT"/robolectric-shadows/shadows-core; mvn clean velocity:velocity install -Pandroid-19 # Build everything with tests (tests require the shadows) -cd "$PROJECT"; mvn install +cd "$PROJECT"; mvn test -- cgit v1.2.3