Note to update version number in files below:
val Organization = "gitbucket" val Name = "gitbucket" val GitBucketVersion = "3.12.0" // <---- update version!! val ScalatraVersion = "2.4.0" val JettyVersion = "9.3.6.v20151106"
object AutoUpdate { /** * The history of versions. A head of this sequence is the current GitBucket version. */ val versions = Seq( new Version(3, 12), // <---- add this line!! new Version(3, 11),
Note: Release operation requires Ant and Maven.
Run sbt executable
. The release war file and fingerprint are generated into target/executable/gitbucket.war
.
$sbt executable
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