Skip to content

Commit

Permalink
Support GitBucket 4.40.0 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe committed Oct 22, 2023
1 parent 6536d2c commit 478636d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ organization := "io.github.gitbucket"
name := "gitbucket-gist-plugin"
version := "4.22.0"
scalaVersion := "2.13.12"
gitbucketVersion := "4.39.0"
gitbucketVersion := "4.40.0"

scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
Compile / javacOptions ++= Seq("-target", "11", "-source", "11")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ trait GistControllerBase extends ControllerBase {
val repoName = StringUtil.md5(userName + " " + datetime(new java.util.Date()))
val gitdir = new File(GistRepoDir, userName + "/" + repoName)
gitdir.mkdirs()
JGitUtil.initRepository(gitdir)
JGitUtil.initRepository(gitdir, "master")

// Insert record
registerGist(
Expand Down

0 comments on commit 478636d

Please sign in to comment.