0
This repository has been archived on 2022-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
slf4bukkit/deploy.sh
Ronald Jack Jenkins Jr b81ff6d90c More deploy fixes
2017-07-30 22:42:54 -04:00

21 lines
425 B
Bash

#!/bin/bash
set -e
mvn clean
source .env
sed -i -e "s/GMSP_OAUTHTOKEN/${GMSP_OAUTHTOKEN}/" settings.xml
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"