mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-04 20:45:58 +01:00
1.0 KiB
1.0 KiB
Release Operation
Update version number
Note to update version number in files below:
src/main/scala/gitbucket/core/servlet/AutoUpdate.scala
object AutoUpdate {
/**
* The history of versions. A head of this sequence is the current BitBucket version.
*/
val versions = Seq(
new Version(3, 3), // <---- add this line!!
new Version(3, 2),
env.sh
#!/bin/sh
export GITBUCKET_VERSION=3.3.0 # <---- update here!!
Generate release files
Note: Release operation requires Ant and Maven.
Make release war file
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
Deploy assembly jar file
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