From 4a158980a4f7b06fc5031ece60c3cb81f0b97e05 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Mon, 18 Feb 2019 23:14:31 +0100 Subject: [PATCH] Replace godep with gomod --- Gopkg.lock | 48 ------------------------------------------------ Gopkg.toml | 19 ------------------- go.mod | 10 ++++++++++ go.sum | 12 ++++++++++++ 4 files changed, 22 insertions(+), 67 deletions(-) delete mode 100644 Gopkg.lock delete mode 100644 Gopkg.toml create mode 100644 go.mod create mode 100644 go.sum diff --git a/Gopkg.lock b/Gopkg.lock deleted file mode 100644 index cf197c8..0000000 --- a/Gopkg.lock +++ /dev/null @@ -1,48 +0,0 @@ -# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. - - -[[projects]] - branch = "master" - name = "code.gitea.io/sdk" - packages = ["gitea"] - revision = "fa91af7569e6ba34bfa382109847cbc79c3fdad8" - -[[projects]] - name = "github.com/Sirupsen/logrus" - packages = ["."] - revision = "c155da19408a8799da419ed3eeb0cb5db0ad5dbc" - version = "v1.0.5" - -[[projects]] - name = "github.com/joho/godotenv" - packages = ["."] - revision = "a79fa1e548e2c689c241d10173efd51e5d689d5b" - version = "v1.2.0" - -[[projects]] - name = "github.com/urfave/cli" - packages = ["."] - revision = "cfb38830724cc34fedffe9a2a29fb54fa9169cd1" - version = "v1.20.0" - -[[projects]] - branch = "master" - name = "golang.org/x/crypto" - packages = ["ssh/terminal"] - revision = "21652f85b0fdddb6c2b6b77a5beca5c5a908174a" - -[[projects]] - branch = "master" - name = "golang.org/x/sys" - packages = [ - "unix", - "windows" - ] - revision = "cc7307a45468e49eaf2997c890f14aa03a26917b" - -[solve-meta] - analyzer-name = "dep" - analyzer-version = 1 - inputs-digest = "7cb00c5086c5910b3f5a952158b3c99e8a3c41acb235f0591f74545909a00d34" - solver-name = "gps-cdcl" - solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml deleted file mode 100644 index 609d659..0000000 --- a/Gopkg.toml +++ /dev/null @@ -1,19 +0,0 @@ -[[constraint]] - branch = "master" - name = "code.gitea.io/sdk" - -[[constraint]] - name = "github.com/Sirupsen/logrus" - version = "1.0.5" - -[[constraint]] - name = "github.com/joho/godotenv" - version = "1.2.0" - -[[constraint]] - name = "github.com/urfave/cli" - version = "1.20.0" - -[prune] - go-tests = true - unused-packages = true diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..ad5a655 --- /dev/null +++ b/go.mod @@ -0,0 +1,10 @@ +module github.com/drone-plugins/drone-gitea-release + +require ( + code.gitea.io/sdk v0.0.0-20180306012245-fa91af7569e6 + github.com/Sirupsen/logrus v1.0.5 + github.com/joho/godotenv v1.2.0 + github.com/urfave/cli v1.20.0 + golang.org/x/crypto v0.0.0-20180314180259-21652f85b0fd + golang.org/x/sys v0.0.0-20180315095008-cc7307a45468 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..680c9ea --- /dev/null +++ b/go.sum @@ -0,0 +1,12 @@ +code.gitea.io/sdk v0.0.0-20180306012245-fa91af7569e6 h1:+7v/mFO/rvSm3V7eTMuO7ZovUE9fGDHdZPOGrGHg6G0= +code.gitea.io/sdk v0.0.0-20180306012245-fa91af7569e6/go.mod h1:5bZt0dRznpn2JysytQnV0yCru3FwDv9O5G91jo+lDAk= +github.com/Sirupsen/logrus v1.0.5 h1:447dy9LxSj+Iaa2uN3yoFHOzU9yJcJYiQPtNz8OXtv0= +github.com/Sirupsen/logrus v1.0.5/go.mod h1:rmk17hk6i8ZSAJkSDa7nOxamrG+SP4P0mm+DAvExv4U= +github.com/joho/godotenv v1.2.0 h1:vGTvz69FzUFp+X4/bAkb0j5BoLC+9bpqTWY8mjhA9pc= +github.com/joho/godotenv v1.2.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= +github.com/urfave/cli v1.20.0 h1:fDqGv3UG/4jbVl/QkFwEdddtEDjh/5Ov6X+0B/3bPaw= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +golang.org/x/crypto v0.0.0-20180314180259-21652f85b0fd h1:cC/2DaX1wcQTuG22GhVYD0kedx0WJnOgKmrxsb3yS+4= +golang.org/x/crypto v0.0.0-20180314180259-21652f85b0fd/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/sys v0.0.0-20180315095008-cc7307a45468 h1:gA/WTjA7p666MDp8dc2JZcAaprujwHmc/1rj+E64iBA= +golang.org/x/sys v0.0.0-20180315095008-cc7307a45468/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=