Skip to content

Commit

Permalink
fixed checkout to only checkout code
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik Ogura committed Aug 29, 2018
1 parent e60e747 commit c2797ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.2.0",
"version": "2.2.1",
"package": "github.com/nikogura/gomason",
"description": "A tool for testing, building, signing, and publishing your project from a clean workspace.",
"repository": "http://localhost:8081/artifactory/generic-local",
Expand Down
2 changes: 1 addition & 1 deletion pkg/gomason/publishing.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func Upload(client *http.Client, parsedDestination string, data io.Reader, md5su
}

if resp.StatusCode > 299 {
err = errors.Wrapf(err, "response code %d is not indicative of a successful publish")
err = errors.Wrap(err, "response code %d is not indicative of a successful publish")
return err
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/gomason/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func Checkout(gopath string, meta Metadata, branch string, verbose bool) (err er
cmd = exec.Command(gocommand, "get", "-insecure", meta.Package)

} else {
cmd = exec.Command(gocommand, "get", meta.Package, "./...")
cmd = exec.Command(gocommand, "get", "-d", fmt.Sprintf("%s/...", meta.Package))
}

if verbose {
Expand Down

0 comments on commit c2797ce

Please sign in to comment.