diff --git a/.drone.yml b/.drone.yml index 4d45dca..06b233e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ pipeline: pull: true commands: - go get -u github.com/golang/dep/cmd/dep - - dep ensure + - dep ensure -update test: image: golang:1.10 diff --git a/plugin/plugin.go b/plugin/plugin.go index 25bbeb8..9ca5963 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -149,7 +149,7 @@ func setHelmCommand(p *Plugin) { setDeleteCommand(p) default: switch os.Getenv("DRONE_BUILD_EVENT") { - case "push", "tag", "deployment", "pull_request": + case "push", "tag", "deployment", "pull_request", "promote", "rollback": setUpgradeCommand(p) case "delete": setDeleteCommand(p)