GitHub user holdenk opened a pull request:

    https://github.com/apache/spark/pull/19312

    [SPARK-22072][SPARK-22071][BUILD]Improve release build scripts

    ## What changes were proposed in this pull request?
    
    Check JDK version (with javac) and use SPARK_VERSION for publish-release
    
    ## How was this patch tested?
    
    Manually tried local build with wrong JDK / JAVA_HOME & built a local 
release (LFTP disabled)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/holdenk/spark improve-release-scripts-r2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19312.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #19312
    
----
commit 4b1e6f58bb91cb8e882a73537276115d977955f1
Author: Holden Karau <[email protected]>
Date:   2017-09-20T05:22:02Z

    Check the java version

commit c9583359174ad43b97ff438cb67159a570137f8b
Author: Holden Karau <[email protected]>
Date:   2017-09-20T05:22:14Z

    Drop the leading v for publish-release

commit ebeab002012794a55f63b8bef5e97d1c7659ecd0
Author: Holden Karau <[email protected]>
Date:   2017-09-20T05:25:02Z

    We should do it for both nexus actions

commit aa4cbf69b080435bc836dc98dddd20307fba6588
Author: Holden Karau <[email protected]>
Date:   2017-09-20T16:44:06Z

    Use package version for publish-release, auto matically switch to 
JAVA_7_HOME if its available

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to