Skip to content

Commit

Permalink
Use vanilla deploy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Russell committed Jul 18, 2019
1 parent 8a3b77a commit c6215e8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@
LATEST_TAG=$(git describe --abbrev=0)
RELEASE_NAME="pseudoace-${LATEST_TAG}"
DEPLOY_JAR="target/${RELEASE_NAME}.jar"

rm -rf target
mkdir -p target
clj -Spom
clj -A:1.9:depstar -m hf.depstar.jar "${DEPLOY_JAR}"
mvn deploy:deploy-file \
-Dfile="${DEPLOY_JAR}" \
-Drepository=clojars \
-Durl=https://clojars.org/repo \
-DpomFile=pom.xml
rm -rf target
mvn deploy
exit $?

0 comments on commit c6215e8

Please sign in to comment.