fix(deps): update module github.com/thegeeklab/drone-plugin-lib to v2

This commit is contained in:
Robert Kaussow 2022-05-29 13:54:52 +02:00
parent 80d59fa9c3
commit 80aa9c05c0
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ import (
"github.com/drone-plugins/drone-matrix/plugin" "github.com/drone-plugins/drone-matrix/plugin"
"github.com/joho/godotenv" "github.com/joho/godotenv"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/thegeeklab/drone-plugin-lib/urfave" "github.com/thegeeklab/drone-plugin-lib/v2/urfave"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
) )
@ -37,7 +37,7 @@ func main() {
Name: "drone-matrix", Name: "drone-matrix",
Usage: "build notifications for matrix", Usage: "build notifications for matrix",
Version: BuildVersion, Version: BuildVersion,
Flags: append(settingsFlags(settings, "Plugin Flags"), urfave.Flags()...), Flags: append(settingsFlags(settings, urfave.FlagsPluginCategory), urfave.Flags()...),
Action: run(settings), Action: run(settings),
} }

2
go.mod
View File

@ -8,7 +8,7 @@ require (
github.com/microcosm-cc/bluemonday v1.0.18 github.com/microcosm-cc/bluemonday v1.0.18
github.com/russross/blackfriday/v2 v2.1.0 github.com/russross/blackfriday/v2 v2.1.0
github.com/sirupsen/logrus v1.8.1 github.com/sirupsen/logrus v1.8.1
github.com/thegeeklab/drone-plugin-lib v1.0.0 github.com/thegeeklab/drone-plugin-lib/v2 v2.0.0
github.com/thegeeklab/drone-template-lib/v2 v2.1.1 github.com/thegeeklab/drone-template-lib/v2 v2.1.1
github.com/urfave/cli/v2 v2.8.1 github.com/urfave/cli/v2 v2.8.1
maunium.net/go/mautrix v0.11.0 maunium.net/go/mautrix v0.11.0

4
go.sum
View File

@ -52,8 +52,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY=
github.com/thegeeklab/drone-plugin-lib v1.0.0 h1:PQeLnJa0q988rODYod/XtDy/f0cHHUhOA2Y8m5XRW4g= github.com/thegeeklab/drone-plugin-lib/v2 v2.0.0 h1:ejM1fIkGhn9sy7HTidRiQhZJuEfUNF6sO9ko090PYvM=
github.com/thegeeklab/drone-plugin-lib v1.0.0/go.mod h1:XAlZDTSNNJogOH1+nS5u0notdj5dO/gtKnU7guzE95g= github.com/thegeeklab/drone-plugin-lib/v2 v2.0.0/go.mod h1:cXNc+dmGLA748rAnXVBsTFG1UO+A/0XlV5jUEf/ahgk=
github.com/thegeeklab/drone-template-lib/v2 v2.1.1 h1:K/h7OAKycScck6jOfvN/HiiblNdd6vRpijY9B9SXVAo= github.com/thegeeklab/drone-template-lib/v2 v2.1.1 h1:K/h7OAKycScck6jOfvN/HiiblNdd6vRpijY9B9SXVAo=
github.com/thegeeklab/drone-template-lib/v2 v2.1.1/go.mod h1:oFWxD3XBVmPGOl/Rz0qXVih61kQDxjoc/O+RCNikJr0= github.com/thegeeklab/drone-template-lib/v2 v2.1.1/go.mod h1:oFWxD3XBVmPGOl/Rz0qXVih61kQDxjoc/O+RCNikJr0=
github.com/urfave/cli/v2 v2.8.1 h1:CGuYNZF9IKZY/rfBe3lJpccSoIY1ytfvmgQT90cNOl4= github.com/urfave/cli/v2 v2.8.1 h1:CGuYNZF9IKZY/rfBe3lJpccSoIY1ytfvmgQT90cNOl4=

View File

@ -7,7 +7,7 @@
package plugin package plugin
import ( import (
"github.com/thegeeklab/drone-plugin-lib/drone" "github.com/thegeeklab/drone-plugin-lib/v2/drone"
) )
// Plugin implements drone.Plugin to provide the plugin implementation. // Plugin implements drone.Plugin to provide the plugin implementation.