[MINOR] Skip Scala 2.10 when publishing release artifacts Skip Scala 2.10 as a few of the extension dependencies are not published in Scala 2.10 binaries.
Project: http://git-wip-us.apache.org/repos/asf/bahir/repo Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/14f9a5ed Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/14f9a5ed Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/14f9a5ed Branch: refs/heads/master Commit: 14f9a5edd0db26b3867c263f0d60e59b422d2479 Parents: 85d1018 Author: Luciano Resende <[email protected]> Authored: Wed Aug 16 22:19:35 2017 -0600 Committer: Luciano Resende <[email protected]> Committed: Wed Aug 16 22:19:35 2017 -0600 ---------------------------------------------------------------------- dev/release-build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bahir/blob/14f9a5ed/dev/release-build.sh ---------------------------------------------------------------------- diff --git a/dev/release-build.sh b/dev/release-build.sh index ab9f534..578f78f 100755 --- a/dev/release-build.sh +++ b/dev/release-build.sh @@ -291,11 +291,11 @@ if [[ "$RELEASE_PUBLISH" == "true" ]]; then #Deploy default scala 2.11 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 + #mvn clean #Deploy scala 2.10 - ./dev/change-scala-version.sh 2.10 - 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 + #./dev/change-scala-version.sh 2.10 + #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
