diff options
author | CodingCat <zhunansjtu@gmail.com> | 2014-03-01 17:24:53 -0800 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-03-01 17:24:53 -0800 |
commit | fe195ae113941766b3921b1e4ec222ed830b5b8f (patch) | |
tree | dca0b83fae796586fed30ad4169e5782e9eaf329 /dev/create-release | |
parent | ec992e182231da7313d85d10b3d5fd5975c44c8b (diff) | |
download | spark-fe195ae113941766b3921b1e4ec222ed830b5b8f.tar.gz spark-fe195ae113941766b3921b1e4ec222ed830b5b8f.tar.bz2 spark-fe195ae113941766b3921b1e4ec222ed830b5b8f.zip |
[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
Diffstat (limited to 'dev/create-release')
-rwxr-xr-x | dev/create-release/create-release.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dev/create-release/create-release.sh b/dev/create-release/create-release.sh index 7cebace506..d3294f04e3 100755 --- a/dev/create-release/create-release.sh +++ b/dev/create-release/create-release.sh @@ -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" |