From f95832a7acab0dd90187b5e08a5d457365c5af8d Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Sat, 14 Jan 2017 20:01:32 -0200 Subject: [PATCH] renamed package refs #79 --- CONTRIBUTING.md | 2 +- context/context.go | 2 +- glide.lock | 8 ++++---- glide.yaml | 2 +- main.go | 22 +++++++++++----------- pipeline/brew/brew.go | 6 +++--- pipeline/build/build.go | 2 +- pipeline/build/name.go | 2 +- pipeline/build/name_test.go | 4 ++-- pipeline/compress/compress.go | 6 +++--- pipeline/defaults/defaults.go | 2 +- pipeline/defaults/defaults_test.go | 4 ++-- pipeline/defaults/remote_test.go | 2 +- pipeline/env/env.go | 2 +- pipeline/git/git.go | 2 +- pipeline/pipe.go | 2 +- pipeline/release/release.go | 4 ++-- pipeline/repos/repos.go | 2 +- 18 files changed, 38 insertions(+), 38 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5a5dda483..b8ea7c958 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ Prerequisites are: Clone `releaser` from source: ```sh -$ git clone https://github.com/goreleaser/releaser.git +$ git clone https://github.com/goreleaser/goreleaser.git $ cd releaser ``` diff --git a/context/context.go b/context/context.go index 415f929dd..967ee11f0 100644 --- a/context/context.go +++ b/context/context.go @@ -1,6 +1,6 @@ package context -import "github.com/goreleaser/releaser/config" +import "github.com/goreleaser/goreleaser/config" // GitInfo includes tags and diffs used in some point type GitInfo struct { diff --git a/glide.lock b/glide.lock index 6b146d4db..5a31dc8c4 100644 --- a/glide.lock +++ b/glide.lock @@ -1,5 +1,5 @@ -hash: 93b83079095ba0cb4b5244840032b91adc415e658a36e8ed709743a53cd9197f -updated: 2016-12-31T13:46:04.437121081-02:00 +hash: 4ae97a8ee2374ccb3e4730069be4fe7cd9f222861add5633ebf82cbbee99025e +updated: 2017-01-14T20:01:15.582114617-02:00 imports: - name: github.com/golang/protobuf version: 8ee79997227bf9b34611aee7946ae64735e6fd93 @@ -16,7 +16,7 @@ imports: - name: github.com/urfave/cli version: 0bdeddeeb0f650497d603c4ad7b20cfe685682f6 - name: golang.org/x/net - version: 8fd7f25955530b92e73e9e1932a41b522b22ccd9 + version: 6d3beaea10370160dea67f5c9327ed791afd5389 subpackages: - context - name: golang.org/x/oauth2 @@ -24,7 +24,7 @@ imports: subpackages: - internal - name: golang.org/x/sync - version: 450f422ab23cf9881c94e2db30cac0eb1b7cf80c + version: 316e794f7b5e3df4e95175a45a5fb8b12f85cb4f subpackages: - errgroup - name: google.golang.org/appengine diff --git a/glide.yaml b/glide.yaml index c2f921077..53ead53d3 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,4 +1,4 @@ -package: github.com/goreleaser/releaser +package: github.com/goreleaser/goreleaser import: - package: github.com/google/go-github subpackages: diff --git a/main.go b/main.go index c4608de4b..5f0dc0306 100644 --- a/main.go +++ b/main.go @@ -4,17 +4,17 @@ import ( "log" "os" - "github.com/goreleaser/releaser/config" - "github.com/goreleaser/releaser/context" - "github.com/goreleaser/releaser/pipeline" - "github.com/goreleaser/releaser/pipeline/brew" - "github.com/goreleaser/releaser/pipeline/build" - "github.com/goreleaser/releaser/pipeline/compress" - "github.com/goreleaser/releaser/pipeline/defaults" - "github.com/goreleaser/releaser/pipeline/env" - "github.com/goreleaser/releaser/pipeline/git" - "github.com/goreleaser/releaser/pipeline/release" - "github.com/goreleaser/releaser/pipeline/repos" + "github.com/goreleaser/goreleaser/config" + "github.com/goreleaser/goreleaser/context" + "github.com/goreleaser/goreleaser/pipeline" + "github.com/goreleaser/goreleaser/pipeline/brew" + "github.com/goreleaser/goreleaser/pipeline/build" + "github.com/goreleaser/goreleaser/pipeline/compress" + "github.com/goreleaser/goreleaser/pipeline/defaults" + "github.com/goreleaser/goreleaser/pipeline/env" + "github.com/goreleaser/goreleaser/pipeline/git" + "github.com/goreleaser/goreleaser/pipeline/release" + "github.com/goreleaser/goreleaser/pipeline/repos" "github.com/urfave/cli" ) diff --git a/pipeline/brew/brew.go b/pipeline/brew/brew.go index d21798c02..0a8108073 100644 --- a/pipeline/brew/brew.go +++ b/pipeline/brew/brew.go @@ -8,9 +8,9 @@ import ( "text/template" "github.com/google/go-github/github" - "github.com/goreleaser/releaser/clients" - "github.com/goreleaser/releaser/context" - "github.com/goreleaser/releaser/sha256sum" + "github.com/goreleaser/goreleaser/clients" + "github.com/goreleaser/goreleaser/context" + "github.com/goreleaser/goreleaser/sha256sum" ) const formulae = `class {{ .Name }} < Formula diff --git a/pipeline/build/build.go b/pipeline/build/build.go index 436669adc..11335d1a8 100644 --- a/pipeline/build/build.go +++ b/pipeline/build/build.go @@ -7,7 +7,7 @@ import ( "os" "os/exec" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/context" "golang.org/x/sync/errgroup" ) diff --git a/pipeline/build/name.go b/pipeline/build/name.go index 049b869e4..0db74419b 100644 --- a/pipeline/build/name.go +++ b/pipeline/build/name.go @@ -4,7 +4,7 @@ import ( "bytes" "text/template" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/context" ) type nameData struct { diff --git a/pipeline/build/name_test.go b/pipeline/build/name_test.go index 62cdc644d..432f85414 100644 --- a/pipeline/build/name_test.go +++ b/pipeline/build/name_test.go @@ -3,8 +3,8 @@ package build import ( "testing" - "github.com/goreleaser/releaser/config" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/config" + "github.com/goreleaser/goreleaser/context" "github.com/stretchr/testify/assert" ) diff --git a/pipeline/compress/compress.go b/pipeline/compress/compress.go index a5bc9297e..053c3f922 100644 --- a/pipeline/compress/compress.go +++ b/pipeline/compress/compress.go @@ -6,9 +6,9 @@ import ( "os" "path/filepath" - "github.com/goreleaser/releaser/context" - "github.com/goreleaser/releaser/pipeline/compress/tar" - "github.com/goreleaser/releaser/pipeline/compress/zip" + "github.com/goreleaser/goreleaser/context" + "github.com/goreleaser/goreleaser/pipeline/compress/tar" + "github.com/goreleaser/goreleaser/pipeline/compress/zip" "golang.org/x/sync/errgroup" ) diff --git a/pipeline/defaults/defaults.go b/pipeline/defaults/defaults.go index 37e09f75e..78e47b1d4 100644 --- a/pipeline/defaults/defaults.go +++ b/pipeline/defaults/defaults.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "strings" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/context" ) var defaultFiles = []string{"licence", "license", "readme", "changelog"} diff --git a/pipeline/defaults/defaults_test.go b/pipeline/defaults/defaults_test.go index 0ecd88b73..8258cd859 100644 --- a/pipeline/defaults/defaults_test.go +++ b/pipeline/defaults/defaults_test.go @@ -3,8 +3,8 @@ package defaults import ( "testing" - "github.com/goreleaser/releaser/config" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/config" + "github.com/goreleaser/goreleaser/context" "github.com/stretchr/testify/assert" ) diff --git a/pipeline/defaults/remote_test.go b/pipeline/defaults/remote_test.go index 66c3cdb83..e8171581c 100644 --- a/pipeline/defaults/remote_test.go +++ b/pipeline/defaults/remote_test.go @@ -21,6 +21,6 @@ func TestExtractReporFromGitURL(t *testing.T) { func TestExtractReporFromHttpsURL(t *testing.T) { assert := assert.New(t) - url := extractRepoFromURL("https://github.com/goreleaser/releaser.git") + url := extractRepoFromURL("https://github.com/goreleaser/goreleaser.git") assert.Equal("goreleaser/releaser", url) } diff --git a/pipeline/env/env.go b/pipeline/env/env.go index 8c72da157..bd5a011a1 100644 --- a/pipeline/env/env.go +++ b/pipeline/env/env.go @@ -4,7 +4,7 @@ import ( "errors" "os" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/context" ) // ErrMissingToken indicates an error when GITHUB_TOKEN is missing in the environment diff --git a/pipeline/git/git.go b/pipeline/git/git.go index a137c994a..d935d2151 100644 --- a/pipeline/git/git.go +++ b/pipeline/git/git.go @@ -1,6 +1,6 @@ package git -import "github.com/goreleaser/releaser/context" +import "github.com/goreleaser/goreleaser/context" // Pipe for brew deployment type Pipe struct{} diff --git a/pipeline/pipe.go b/pipeline/pipe.go index 2395469d6..d8196e870 100644 --- a/pipeline/pipe.go +++ b/pipeline/pipe.go @@ -1,6 +1,6 @@ package pipeline -import "github.com/goreleaser/releaser/context" +import "github.com/goreleaser/goreleaser/context" // Pipe interface type Pipe interface { diff --git a/pipeline/release/release.go b/pipeline/release/release.go index b17af9fb0..3b83449f3 100644 --- a/pipeline/release/release.go +++ b/pipeline/release/release.go @@ -6,8 +6,8 @@ import ( "os/exec" "github.com/google/go-github/github" - "github.com/goreleaser/releaser/clients" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/clients" + "github.com/goreleaser/goreleaser/context" "golang.org/x/sync/errgroup" ) diff --git a/pipeline/repos/repos.go b/pipeline/repos/repos.go index 5a3784420..5b9cfaa89 100644 --- a/pipeline/repos/repos.go +++ b/pipeline/repos/repos.go @@ -3,7 +3,7 @@ package repos import ( "strings" - "github.com/goreleaser/releaser/context" + "github.com/goreleaser/goreleaser/context" ) // Pipe for brew deployment