Skip to content

Commit 49ec0a7

Browse files
Merge pull request #99 from Brightscout/release-2.1.0
Bump plugin version to v2.1.0
2 parents 0f0a109 + 9e65c78 commit 49ec0a7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugin.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"id": "mattermost-plugin-azure-devops",
33
"name": "Mattermost Azure DevOps plugin",
4-
"description": "This plugin provides services of Azure DevOps such as Boards, Repos and Pipelines",
4+
"description": "This plugin provides services of Azure DevOps such as Boards and Repos",
55
"icon_path": "assets/azurebot.svg",
6-
"version": "2.0.0",
6+
"version": "2.1.0",
77
"min_server_version": "5.37.0",
88
"server": {
99
"executables": {

server/plugin/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ func (p *Plugin) handleSubscriptionNotifications(w http.ResponseWriter, r *http.
528528
case constants.SubscriptionEventCodePushed:
529529
commits := ""
530530
for i := 0; i < len(body.Resource.Commits); i++ {
531-
commits += fmt.Sprintf("\n[%s](%s): **%s**", body.Resource.Commits[i].CommitID, body.Resource.Commits[i].URL, body.Resource.Commits[i].Comment)
531+
commits += fmt.Sprintf("\n[%s](%s): **%s**", body.Resource.Commits[i].CommitID[0:8], body.Resource.Commits[i].URL, body.Resource.Commits[i].Comment)
532532
}
533533

534534
if commits == "" {

0 commit comments

Comments
 (0)