mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 12:05:59 +01:00
(refs #739)Update document
This commit is contained in:
@@ -31,16 +31,18 @@ object AutoUpdate {
|
|||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
### etc/deploy-assembly.sh
|
### deploy-assembly.sh
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
./sbt.sh assembly
|
||||||
|
|
||||||
mvn deploy:deploy-file \
|
mvn deploy:deploy-file \
|
||||||
-DgroupId=gitbucket\
|
-DgroupId=gitbucket\
|
||||||
-DartifactId=gitbucket-assembly\
|
-DartifactId=gitbucket-assembly\
|
||||||
-Dversion=3.2.0\ # <---- update here!!
|
-Dversion=3.2.0\ # <---- update here!!
|
||||||
-Dpackaging=jar\
|
-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\
|
-DrepositoryId=sourceforge.jp\
|
||||||
-Durl=scp://shell.sourceforge.jp/home/groups/a/am/amateras/htdocs/mvn/
|
-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.
|
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
|
./deploy-assembly.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This script runs `sbt assembly` and `mvn deploy`.
|
||||||
|
|||||||
Reference in New Issue
Block a user