0

Fix deploy missing creds

This commit is contained in:
Ronald Jack Jenkins Jr
2017-07-30 21:49:01 -04:00
parent b2fb40c59b
commit 37e9bbeecf
3 changed files with 25 additions and 8 deletions

20
deploy.sh Normal file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
mvn clean
set -o allexport
source .env
set +o allexport
rm .env
mvn -s settings.xml -Drtr.release=true -P release
git config --global user.email "me@ronjenkins.info"
git config --global user.name "Ronald Jack Jenkins Jr."
POM_VERSION=$(cat .version | xargs)
git add pom.xml
git commit -m "Committing release $POM_VERSION"
git tag "$POM_VERSION"
git push origin "$POM_VERSION"