Repository: bahir Updated Branches: refs/heads/master d8601f32a -> 942b43dc4
[BAHIR-69] Clean build between different scala version During release-publish, execute a mvn clean between different scala version builds Project: http://git-wip-us.apache.org/repos/asf/bahir/repo Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/942b43dc Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/942b43dc Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/942b43dc Branch: refs/heads/master Commit: 942b43dc428c7ade2789fb09df0fda360cf94024 Parents: d8601f3 Author: Luciano Resende <[email protected]> Authored: Sat Oct 15 11:19:19 2016 -0700 Committer: Luciano Resende <[email protected]> Committed: Sat Oct 15 11:20:51 2016 -0700 ---------------------------------------------------------------------- dev/release-build.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bahir/blob/942b43dc/dev/release-build.sh ---------------------------------------------------------------------- diff --git a/dev/release-build.sh b/dev/release-build.sh index 2575538..06762cf 100755 --- a/dev/release-build.sh +++ b/dev/release-build.sh @@ -281,11 +281,13 @@ if [[ "$RELEASE_PUBLISH" == "true" ]]; then cd target/bahir #Deploy default scala 2.11 - mvn -DaltDeploymentRepository=apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2 clean verify gpg:sign install:install deploy:deploy -DskiptTests -Dgpg.passphrase=$GPG_PASSPHRASE $PUBLISH_PROFILES + mvn $PUBLISH_PROFILES -DaltDeploymentRepository=apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2 clean package gpg:sign install:install deploy:deploy -DskiptTests -Darguments="-DskipTests" -Dgpg.passphrase=$GPG_PASSPHRASE + + mvn clean #Deploy scala 2.10 ./dev/change-scala-version.sh 2.10 - mvn -DaltDeploymentRepository=apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2 clean verify gpg:sign install:install deploy:deploy -DskiptTests -Dscala-2.10 -Dgpg.passphrase=$GPG_PASSPHRASE $PUBLISH_PROFILES + mvn $PUBLISH_PROFILES -DaltDeploymentRepository=apache.releases.https::default::https://repository.apache.org/service/local/staging/deploy/maven2 clean package gpg:sign install:install deploy:deploy -DskiptTests -Darguments="-DskipTests" -Dscala-2.10 -Dgpg.passphrase=$GPG_PASSPHRASE cd "$BASE_DIR" #exit target @@ -311,11 +313,11 @@ if [[ "$RELEASE_SNAPSHOT" == "true" ]]; then fi #Deploy default scala 2.11 - $MVN -DaltDeploymentRepository=apache.snapshots.https::default::https://repository.apache.org/content/repositories/snapshots clean verify gpg:sign install:install deploy:deploy -DskiptTests -Dgpg.passphrase=$GPG_PASSPHRASE $PUBLISH_PROFILES + $MVN $PUBLISH_PROFILES -DaltDeploymentRepository=apache.snapshots.https::default::https://repository.apache.org/content/repositories/snapshots clean package gpg:sign install:install deploy:deploy -DskiptTests -Darguments="-DskipTests" -Dgpg.passphrase=$GPG_PASSPHRASE #Deploy scala 2.10 ./dev/change-scala-version.sh 2.10 - $MVN -DaltDeploymentRepository=apache.snapshots.https::default::https://repository.apache.org/content/repositories/snapshots clean verify gpg:sign install:install deploy:deploy -DskiptTests -Dscala-2.10 -Dgpg.passphrase=$GPG_PASSPHRASE $PUBLISH_PROFILES + $MVN $PUBLISH_PROFILES -DaltDeploymentRepository=apache.snapshots.https::default::https://repository.apache.org/content/repositories/snapshots clean package gpg:sign install:install deploy:deploy -DskiptTests -Darguments="-DskipTests" -Dscala-2.10 -Dgpg.passphrase=$GPG_PASSPHRASE cd "$BASE_DIR" #exit target exit 0
