Skip to content

Commit

Permalink
[SPARK-1150] fix repo location in create script (re-open)
Browse files Browse the repository at this point in the history
reopen for https://spark-project.atlassian.net/browse/SPARK-1150

Author: CodingCat <[email protected]>

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

fc05a71 [CodingCat] fix repo location in create script
  • Loading branch information
CodingCat authored and pwendell committed Mar 2, 2014
1 parent ec992e1 commit fe195ae
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dev/create-release/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -59,19 +59,19 @@ 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`

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
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit fe195ae

Please sign in to comment.