Skip to content

Commit 4b6db6c

Browse files
committed
Update for Markdown API change in GitBucket 4.30.0
1 parent cb22f83 commit 4b6db6c

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This plug-in provides notifications feature on GitBucket.
44

55
Plugin version | GitBucket version
66
:--------------|:--------------------
7+
1.7.x | 4.30.x
78
1.6.x | 4.26.x
89
1.5.x | 4.23.x - 4.25.x
910
1.4.x | 4.19.x - 4.22.x

Diff for: build.sbt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name := "gitbucket-notifications-plugin"
22
organization := "io.github.gitbucket"
3-
version := "1.6.0"
4-
scalaVersion := "2.12.6"
5-
gitbucketVersion := "4.26.0"
3+
version := "1.7.0"
4+
scalaVersion := "2.12.7"
5+
gitbucketVersion := "4.30.0-SNAPSHOT"

Diff for: project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.1.6
1+
sbt.version=1.2.6

Diff for: src/main/scala/gitbucket/notifications/service/NotificationsHook.scala

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class IssueHook extends gitbucket.core.plugin.IssueHook
132132
Markdown.toHtml(
133133
markdown = markdown,
134134
repository = r,
135+
branch = r.repository.defaultBranch,
135136
enableWikiLink = false,
136137
enableRefsLink = true,
137138
enableAnchor = false,

0 commit comments

Comments
 (0)