Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Nov 17, 2014
1 parent ffa1df2 commit bf742e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/create-release/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ if [[ ! "$@" =~ --package-only ]]; then
pushd spark
export MAVEN_OPTS="-Xmx3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=1g"

echo "Creating tag $GIT_TAG at the head of $BRANCH_NAME"
git checkout -f $BRANCH_NAME
find . -name pom.xml -o -name package.scala | grep -v dev | xargs -I {} sed -i \
-e "s/${RELEASE_VERSION}-SNAPSHOT/$RELEASE_VERSION/" {}
git commit -a -m "Preparing Spark release $GIT_TAG"

echo "Creating tag $GIT_TAG at the head of $GIT_BRANCH"
git tag $GIT_TAG

rm -rf $SPARK_REPO
Expand Down Expand Up @@ -106,7 +106,7 @@ if [[ ! "$@" =~ --package-only ]]; then
git commit -a -m "Preparing development version ${NEXT_VERSION}-SNAPSHOT"

git push origin $GIT_TAG
git push origin HEAD:$BRANCH_NAME
git push origin HEAD:$GIT_BRANCH
popd
rm -rf spark
fi
Expand Down

0 comments on commit bf742e1

Please sign in to comment.