mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Update version and release document
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
val Organization = "gitbucket"
|
val Organization = "gitbucket"
|
||||||
val Name = "gitbucket"
|
val Name = "gitbucket"
|
||||||
val GitBucketVersion = "3.14.0-SNAPSHOT"
|
val GitBucketVersion = "4.0.0-SNAPSHOT"
|
||||||
val ScalatraVersion = "2.4.0"
|
val ScalatraVersion = "2.4.0"
|
||||||
val JettyVersion = "9.3.6.v20151106"
|
val JettyVersion = "9.3.6.v20151106"
|
||||||
|
|
||||||
|
|||||||
@@ -11,22 +11,24 @@ Note to update version number in files below:
|
|||||||
```scala
|
```scala
|
||||||
val Organization = "gitbucket"
|
val Organization = "gitbucket"
|
||||||
val Name = "gitbucket"
|
val Name = "gitbucket"
|
||||||
val GitBucketVersion = "3.12.0" // <---- update version!!
|
val GitBucketVersion = "4.0.0" // <---- update version!!
|
||||||
val ScalatraVersion = "2.4.0"
|
val ScalatraVersion = "2.4.0"
|
||||||
val JettyVersion = "9.3.6.v20151106"
|
val JettyVersion = "9.3.6.v20151106"
|
||||||
```
|
```
|
||||||
|
|
||||||
### src/main/scala/gitbucket/core/servlet/AutoUpdate.scala
|
### src/main/scala/gitbucket/core/GitBucketCoreModule.scala
|
||||||
|
|
||||||
```scala
|
```scala
|
||||||
object AutoUpdate {
|
object GitBucketCoreModule extends Module("gitbucket-core",
|
||||||
|
// add new version definition
|
||||||
/**
|
new Version("4.1.0",
|
||||||
* The history of versions. A head of this sequence is the current GitBucket version.
|
new LiquibaseMigration("update/gitbucket-core_4.1.xml")
|
||||||
*/
|
),
|
||||||
val versions = Seq(
|
new Version("4.0.0",
|
||||||
new Version(3, 12), // <---- add this line!!
|
new LiquibaseMigration("update/gitbucket-core_4.0.xml"),
|
||||||
new Version(3, 11),
|
new SqlMigration("update/gitbucket-core_4.0.sql")
|
||||||
|
)
|
||||||
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
Generate release files
|
Generate release files
|
||||||
|
|||||||
Reference in New Issue
Block a user