Skip to content

Commit

Permalink
Merge pull request #99 from Brightscout/release-2.1.0
Browse files Browse the repository at this point in the history
Bump plugin version to v2.1.0
  • Loading branch information
raghavaggarwal2308 authored Oct 28, 2022
2 parents 0f0a109 + 9e65c78 commit 49ec0a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"id": "mattermost-plugin-azure-devops",
"name": "Mattermost Azure DevOps plugin",
"description": "This plugin provides services of Azure DevOps such as Boards, Repos and Pipelines",
"description": "This plugin provides services of Azure DevOps such as Boards and Repos",
"icon_path": "assets/azurebot.svg",
"version": "2.0.0",
"version": "2.1.0",
"min_server_version": "5.37.0",
"server": {
"executables": {
Expand Down
2 changes: 1 addition & 1 deletion server/plugin/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ func (p *Plugin) handleSubscriptionNotifications(w http.ResponseWriter, r *http.
case constants.SubscriptionEventCodePushed:
commits := ""
for i := 0; i < len(body.Resource.Commits); i++ {
commits += fmt.Sprintf("\n[%s](%s): **%s**", body.Resource.Commits[i].CommitID, body.Resource.Commits[i].URL, body.Resource.Commits[i].Comment)
commits += fmt.Sprintf("\n[%s](%s): **%s**", body.Resource.Commits[i].CommitID[0:8], body.Resource.Commits[i].URL, body.Resource.Commits[i].Comment)
}

if commits == "" {
Expand Down

0 comments on commit 49ec0a7

Please sign in to comment.