Note to update version number in files below:
object MyBuild extends Build {
val Organization = "gitbucket"
val Name = "gitbucket"
val Version = "3.2.0" // <---- update here!!
val ScalaVersion = "2.11.6"
val ScalatraVersion = "2.3.1"
#!/bin/sh export GITBUCKET_VERSION=3.3.0 # <---- update here!!
Note: Release operation requires Ant and Maven.
Run release/make-release-war.sh. The release war file is generated into target/scala-2.11/gitbucket.war.
$ cd release $ ./make-release-war.sh
For plug-in development, we have to publish the assembly jar file to the public Maven repository by release/deploy-assembly-jar.sh.
$ cd release/ $ ./deploy-assembly-jar.sh