From da3b7dbeff1441968fb0475cb6b0236644f56803 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Thu, 7 May 2015 11:14:17 +0900 Subject: [PATCH] Improve assembly-jar deploying --- etc/deploy-assemby-jar.sh => deploy-assemby-jar.sh | 4 +++- etc/pom.xml => pom.xml | 0 2 files changed, 3 insertions(+), 1 deletion(-) rename etc/deploy-assemby-jar.sh => deploy-assemby-jar.sh (74%) rename etc/pom.xml => pom.xml (100%) diff --git a/etc/deploy-assemby-jar.sh b/deploy-assemby-jar.sh similarity index 74% rename from etc/deploy-assemby-jar.sh rename to deploy-assemby-jar.sh index 62d99b7ea..d6c8b5c24 100755 --- a/etc/deploy-assemby-jar.sh +++ b/deploy-assemby-jar.sh @@ -1,9 +1,11 @@ #!/bin/sh +./sbt.sh clean assembly + mvn deploy:deploy-file \ -DgroupId=gitbucket\ -DartifactId=gitbucket-assembly\ -Dversion=3.2.0\ -Dpackaging=jar\ - -Dfile=../target/scala-2.11/gitbucket-assembly-3.2.0.jar\ + -Dfile=target/scala-2.11/gitbucket-assembly-3.2.0.jar\ -DrepositoryId=sourceforge.jp\ -Durl=scp://shell.sourceforge.jp/home/groups/a/am/amateras/htdocs/mvn/ diff --git a/etc/pom.xml b/pom.xml similarity index 100% rename from etc/pom.xml rename to pom.xml