@@ -4,7 +4,7 @@ import (
|
|||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
|
|
||||||
"github.com/cppforlife/go-semi-semantic/version"
|
"github.com/cppforlife/go-semi-semantic/version"
|
||||||
)
|
)
|
||||||
|
@@ -4,7 +4,7 @@ import (
|
|||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
|
|
||||||
"github.com/concourse/github-release-resource"
|
"github.com/concourse/github-release-resource"
|
||||||
"github.com/concourse/github-release-resource/fakes"
|
"github.com/concourse/github-release-resource/fakes"
|
||||||
|
@@ -8,7 +8,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/concourse/github-release-resource"
|
"github.com/concourse/github-release-resource"
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FakeGitHub struct {
|
type FakeGitHub struct {
|
||||||
|
@@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
"code.google.com/p/goauth2/oauth"
|
"code.google.com/p/goauth2/oauth"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:generate counterfeiter . GitHub
|
//go:generate counterfeiter . GitHub
|
||||||
|
@@ -10,7 +10,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InCommand struct {
|
type InCommand struct {
|
||||||
|
@@ -14,7 +14,7 @@ import (
|
|||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
"github.com/onsi/gomega/ghttp"
|
"github.com/onsi/gomega/ghttp"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
|
|
||||||
"github.com/concourse/github-release-resource"
|
"github.com/concourse/github-release-resource"
|
||||||
"github.com/concourse/github-release-resource/fakes"
|
"github.com/concourse/github-release-resource/fakes"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
package resource
|
package resource
|
||||||
|
|
||||||
import "github.com/zachgersh/go-github/github"
|
import "github.com/google/go-github/github"
|
||||||
|
|
||||||
func metadataFromRelease(release *github.RepositoryRelease) []MetadataPair {
|
func metadataFromRelease(release *github.RepositoryRelease) []MetadataPair {
|
||||||
metadata := []MetadataPair{}
|
metadata := []MetadataPair{}
|
||||||
|
@@ -8,7 +8,7 @@ import (
|
|||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
type OutCommand struct {
|
type OutCommand struct {
|
||||||
|
@@ -11,7 +11,7 @@ import (
|
|||||||
"github.com/concourse/github-release-resource"
|
"github.com/concourse/github-release-resource"
|
||||||
"github.com/concourse/github-release-resource/fakes"
|
"github.com/concourse/github-release-resource/fakes"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
func file(path, contents string) {
|
func file(path, contents string) {
|
||||||
|
@@ -5,7 +5,7 @@ import (
|
|||||||
|
|
||||||
. "github.com/onsi/ginkgo"
|
. "github.com/onsi/ginkgo"
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGithubReleaseResource(t *testing.T) {
|
func TestGithubReleaseResource(t *testing.T) {
|
||||||
|
@@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/zachgersh/go-github/github"
|
"github.com/google/go-github/github"
|
||||||
)
|
)
|
||||||
|
|
||||||
// determineVersionFromTag converts git tags v1.2.3 into semver 1.2.3 values
|
// determineVersionFromTag converts git tags v1.2.3 into semver 1.2.3 values
|
||||||
|
Reference in New Issue
Block a user