Skip to content

Commit fe195ae

Browse files
CodingCatpwendell
authored andcommitted
[SPARK-1150] fix repo location in create script (re-open)
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
1 parent ec992e1 commit fe195ae

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

dev/create-release/create-release.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ GIT_TAG=v$RELEASE_VERSION
3939

4040
# Artifact publishing
4141

42-
git clone https://git-wip-us.apache.org/repos/asf/incubator-spark.git -b $GIT_BRANCH
43-
cd incubator-spark
42+
git clone https://git-wip-us.apache.org/repos/asf/spark.git -b $GIT_BRANCH
43+
cd spark
4444
export MAVEN_OPTS="-Xmx3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g"
4545

4646
mvn -Pyarn release:clean
@@ -59,19 +59,19 @@ mvn -DskipTests \
5959
-Pyarn \
6060
release:perform
6161

62-
rm -rf incubator-spark
62+
rm -rf spark
6363

6464
# Source and binary tarballs
65-
git clone https://git-wip-us.apache.org/repos/asf/incubator-spark.git
66-
cd incubator-spark
65+
git clone https://git-wip-us.apache.org/repos/asf/spark.git
66+
cd spark
6767
git checkout --force $GIT_TAG
6868
release_hash=`git rev-parse HEAD`
6969

7070
rm .gitignore
7171
rm -rf .git
7272
cd ..
7373

74-
cp -r incubator-spark spark-$RELEASE_VERSION
74+
cp -r spark spark-$RELEASE_VERSION
7575
tar cvzf spark-$RELEASE_VERSION.tgz spark-$RELEASE_VERSION
7676
echo $GPG_PASSPHRASE | gpg --passphrase-fd 0 --armour --output spark-$RELEASE_VERSION.tgz.asc \
7777
--detach-sig spark-$RELEASE_VERSION.tgz
@@ -85,7 +85,7 @@ make_binary_release() {
8585
NAME=$1
8686
MAVEN_FLAGS=$2
8787

88-
cp -r incubator-spark spark-$RELEASE_VERSION-bin-$NAME
88+
cp -r spark spark-$RELEASE_VERSION-bin-$NAME
8989
cd spark-$RELEASE_VERSION-bin-$NAME
9090
export MAVEN_OPTS="-Xmx3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g"
9191
mvn $MAVEN_FLAGS -DskipTests clean package
@@ -118,7 +118,7 @@ scp spark* \
118118
$USER_NAME@people.apache.org:/home/$USER_NAME/public_html/$rc_folder/
119119

120120
# Docs
121-
cd incubator-spark
121+
cd spark
122122
cd docs
123123
jekyll build
124124
echo "Copying release documentation"

0 commit comments

Comments
 (0)