Skip to content

Commit

Permalink
Added some help for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartyCaroine committed Jan 25, 2023
1 parent b047e96 commit e37825e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ compile: clean test
mvn compile

publish: compile
sed -i -r "s/0\.0\.0/${VERSION}/g" "$(VERSION_FILE1)" && sed -i -r "s/0\.0\.0/${VERSION}/g" "$(VERSION_FILE2)" \
mvn help:effective-settings \
&& sed -i -r "s/0\.0\.0/${VERSION}/g" "$(VERSION_FILE1)" && sed -i -r "s/0\.0\.0/${VERSION}/g" "$(VERSION_FILE2)" \
&& GPG_TTY="$(shell tty)" mvn \
--batch-mode \
--no-transfer-progress \
--errors \
--debug \
-Dgpg.passphrase="${OSSRH_GPG_SECRET_KEY_PASSPHRASE}" \
deploy

Expand All @@ -31,8 +33,7 @@ workspace:
docker-compose run sdk /bin/sh

release: publish
docker-compose run sdk make publish \
&& hub release create -m "v${VERSION} Release" "${VERSION}" \
hub release create -m "v${VERSION} Release" "${VERSION}" \
-a target/smartystreets-java-sdk-${VERSION}-jar-with-dependencies.jar \
-a target/smartystreets-java-sdk-${VERSION}-javadoc.jar \
-a target/smartystreets-java-sdk-${VERSION}.jar
Expand Down

0 comments on commit e37825e

Please sign in to comment.