config: additional fixes

This commit is contained in:
Roman Ivanov 2016-01-31 07:32:38 -08:00
parent e0efddef62
commit ef2fe3b8fc
1 changed files with 5 additions and 0 deletions

View File

@ -7,8 +7,10 @@ set -e
ssh -t romanivanov,checkstyle@shell.sourceforge.net create
# Version bump in pom.xml - https://github.com/checkstyle/checkstyle/commits/master
mvn -Pgpg release:prepare -B -Darguments="-DskipTests -DskipITs -Dpmd.skip=true -Dfindbugs.skip=true -Dcobertura.skip=true -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
# deployment of jars to maven central and publication of site to http://checkstyle.sourceforge.net/new-site/
mvn -Pgpg release:perform -Darguments='-Dcheckstyle.ant.skip=true'
#############################
@ -34,8 +36,11 @@ EOF
RELEASE=6.15
git checkout checkstyle-$RELEASE
#Generate all binaries
mvn -Passembly clean package
#Publish them to sourceforce
FRS_PATH=/home/frs/project/checkstyle/checkstyle/$RELEASE
ssh romanivanov,checkstyle@shell.sourceforge.net "mkdir -p $FRS_PATH"
scp target/*.jar romanivanov@frs.sourceforge.net:$FRS_PATH