Skip to content

Commit 7e92ae8

Browse files
authored
cleanup (apache#33)
1 parent ff3e9e2 commit 7e92ae8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

circle.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ deployment:
4040
tag: /[0-9]+(?:\.[0-9]+)+-palantir[0-9]+/
4141
commands:
4242
- ./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive publish
43-
- ./dev/make-distribution.sh --name hadoop2.7 --tgz "-Phadoop2.7 -Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos" \
44-
2>&1 > binary-release-hadoop2.7.log
43+
- ./dev/make-distribution.sh --name hadoop2.7 --tgz "-Phadoop2.7 -Psparkr -Phive -Phive-thriftserver -Pyarn -Pmesos" 2>&1 > binary-release-hadoop2.7.log
4544
- curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -T "spark-$(git describe --tags)-bin-hadoop2.7.tgz" "https://api.bintray.com/content/palantir/releases/spark/$(git describe --tags)/org/apache/spark/dist/spark-$(git describe --tags)-bin-hadoop2.7.tgz"
4645
- ./build/sbt -Phadoop-2.7 -Pmesos -Pkinesis-asl -Pyarn -Phive-thriftserver -Phive clean
47-
- ./dev/make-distribution.sh --name without-hadoop --tgz "-Psparkr -Phadoop-provided -Pyarn -Pmesos" \
48-
2>&1 > binary-release-without-hadoop.log
46+
- ./dev/make-distribution.sh --name without-hadoop --tgz "-Psparkr -Phadoop-provided -Pyarn -Pmesos" 2>&1 > binary-release-without-hadoop.log
4947
- curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -T "spark-$(git describe --tags)-bin-without-hadoop.tgz" "https://api.bintray.com/content/palantir/releases/spark/$(git describe --tags)/org/apache/spark/dist/spark-$(git describe --tags)-bin-without-hadoop.tgz"
5048
- curl -u $BINTRAY_USERNAME:$BINTRAY_PASSWORD -X POST https://api.bintray.com/content/palantir/releases/spark/$(git describe --tags)/publish
5149
snapshot:

dev/make-distribution.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ if [ ! "$(command -v "$MVN")" ] ; then
116116
exit -1;
117117
fi
118118

119-
VERSION=$("$MVN" help:evaluate -Dexpression=project.version $@ 2>/dev/null | grep -v "INFO" | tail -n 1)
119+
VERSION=$(git describe --tags)
120120
SCALA_VERSION=$("$MVN" help:evaluate -Dexpression=scala.binary.version $@ 2>/dev/null\
121121
| grep -v "INFO"\
122122
| tail -n 1)
@@ -150,7 +150,7 @@ export MAVEN_OPTS="${MAVEN_OPTS:--Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCac
150150
# Store the command as an array because $MVN variable might have spaces in it.
151151
# Normal quoting tricks don't work.
152152
# See: http://mywiki.wooledge.org/BashFAQ/050
153-
BUILD_COMMAND=("$MVN" -T 1C clean package -DskipTests $@)
153+
BUILD_COMMAND=("$MVN" -T 1C package -DskipTests $@)
154154

155155
# Actually build the jar
156156
echo -e "\nBuilding with..."

0 commit comments

Comments
 (0)