Update go-github
This commit is contained in:
parent
a13a0ec949
commit
da89cad164
115 changed files with 4785 additions and 1606 deletions
|
@ -6,7 +6,7 @@ import (
|
|||
"io/ioutil"
|
||||
"os"
|
||||
|
||||
"github.com/google/go-github/v29/github"
|
||||
"github.com/google/go-github/v32/github"
|
||||
jira "gopkg.in/andygrunwald/go-jira.v1"
|
||||
|
||||
"git.ctrlz.es/mgdelacroix/campaigner/model"
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"git.ctrlz.es/mgdelacroix/campaigner/model"
|
||||
|
||||
"github.com/StevenACoffman/j2m"
|
||||
"github.com/google/go-github/v29/github"
|
||||
"github.com/google/go-github/v32/github"
|
||||
"golang.org/x/oauth2"
|
||||
)
|
||||
|
||||
|
@ -92,6 +92,8 @@ func (a *App) PublishNextInGithub(dryRun bool) (bool, error) {
|
|||
return false, err
|
||||
}
|
||||
|
||||
// ToDo: print here the newly created issue
|
||||
|
||||
if !dryRun {
|
||||
if err := a.UpdateJiraAfterGithub(ticket); err != nil {
|
||||
fmt.Fprintf(os.Stderr, "error updating Jira info for %s after publishing in Github\n", ticket.JiraLink)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue