Skip to content
Snippets Groups Projects
Commit fe195ae1 authored by CodingCat's avatar CodingCat Committed by Patrick Wendell
Browse files

[SPARK-1150] fix repo location in create script (re-open)

reopen for https://spark-project.atlassian.net/browse/SPARK-1150

Author: CodingCat <zhunansjtu@gmail.com>

Closes #52 from CodingCat/script_fixes and squashes the following commits:

fc05a71 [CodingCat] fix repo location in create script
parent ec992e18
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,8 @@ GIT_TAG=v$RELEASE_VERSION
# Artifact publishing
git clone https://git-wip-us.apache.org/repos/asf/incubator-spark.git -b $GIT_BRANCH
cd incubator-spark
git clone https://git-wip-us.apache.org/repos/asf/spark.git -b $GIT_BRANCH
cd spark
export MAVEN_OPTS="-Xmx3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g"
mvn -Pyarn release:clean
......@@ -59,11 +59,11 @@ mvn -DskipTests \
-Pyarn \
release:perform
rm -rf incubator-spark
rm -rf spark
# Source and binary tarballs
git clone https://git-wip-us.apache.org/repos/asf/incubator-spark.git
cd incubator-spark
git clone https://git-wip-us.apache.org/repos/asf/spark.git
cd spark
git checkout --force $GIT_TAG
release_hash=`git rev-parse HEAD`
......@@ -71,7 +71,7 @@ rm .gitignore
rm -rf .git
cd ..
cp -r incubator-spark spark-$RELEASE_VERSION
cp -r spark spark-$RELEASE_VERSION
tar cvzf spark-$RELEASE_VERSION.tgz spark-$RELEASE_VERSION
echo $GPG_PASSPHRASE | gpg --passphrase-fd 0 --armour --output spark-$RELEASE_VERSION.tgz.asc \
--detach-sig spark-$RELEASE_VERSION.tgz
......@@ -85,7 +85,7 @@ make_binary_release() {
NAME=$1
MAVEN_FLAGS=$2
cp -r incubator-spark spark-$RELEASE_VERSION-bin-$NAME
cp -r spark spark-$RELEASE_VERSION-bin-$NAME
cd spark-$RELEASE_VERSION-bin-$NAME
export MAVEN_OPTS="-Xmx3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g"
mvn $MAVEN_FLAGS -DskipTests clean package
......@@ -118,7 +118,7 @@ scp spark* \
$USER_NAME@people.apache.org:/home/$USER_NAME/public_html/$rc_folder/
# Docs
cd incubator-spark
cd spark
cd docs
jekyll build
echo "Copying release documentation"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment