From 55fd8e5e2d96c095dd8df8c685fd588d99a98ca5 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Thu, 7 May 2015 11:06:32 +0900 Subject: [PATCH 1/2] (refs #739)Update document --- doc/release.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/release.md b/doc/release.md index ca5c6c066..44ab449c7 100644 --- a/doc/release.md +++ b/doc/release.md @@ -31,16 +31,18 @@ object AutoUpdate { ... ``` -### etc/deploy-assembly.sh +### deploy-assembly.sh ```bash #!/bin/sh +./sbt.sh assembly + mvn deploy:deploy-file \ -DgroupId=gitbucket\ -DartifactId=gitbucket-assembly\ -Dversion=3.2.0\ # <---- update here!! -Dpackaging=jar\ - -Dfile=../target/scala-2.11/gitbucket-assembly-x.x.x.jar\ # <---- update here!! + -Dfile=target/scala-2.11/gitbucket-assembly-x.x.x.jar\ # <---- update here!! -DrepositoryId=sourceforge.jp\ -Durl=scp://shell.sourceforge.jp/home/groups/a/am/amateras/htdocs/mvn/ ``` @@ -59,8 +61,7 @@ Run ant with `build.xml` in the root directory. The release war file is generate For plug-in development, we have to publish the assembly jar file to the public Maven repository. ``` -./sbt.sh assembly - -cd etc ./deploy-assembly.sh ``` + +This script runs `sbt assembly` and `mvn deploy`. From 9737bd7012047c7dcf23da7036d69839d2d5c332 Mon Sep 17 00:00:00 2001 From: Naoki Takezoe Date: Thu, 7 May 2015 11:08:11 +0900 Subject: [PATCH 2/2] (refs #739)Update document --- doc/release.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/release.md b/doc/release.md index 44ab449c7..096c4f566 100644 --- a/doc/release.md +++ b/doc/release.md @@ -31,7 +31,7 @@ object AutoUpdate { ... ``` -### deploy-assembly.sh +### deploy-assembly-jar.sh ```bash #!/bin/sh @@ -61,7 +61,7 @@ Run ant with `build.xml` in the root directory. The release war file is generate For plug-in development, we have to publish the assembly jar file to the public Maven repository. ``` -./deploy-assembly.sh +./deploy-assembly-jar.sh ``` This script runs `sbt assembly` and `mvn deploy`.