Skip to content

Commit

Permalink
feat: Official module release
Browse files Browse the repository at this point in the history
  • Loading branch information
jimschubert committed Apr 7, 2020
1 parent 30e6852 commit bf79269
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /go/src/app
ADD . /go/src/app

#RUN goreleaser release --skip-publish --snapshot --rm-dist
RUN go mod download && go build -o /go/bin/app changelog/cmd
RUN go mod download && go build -o /go/bin/app github.com/jimschubert/changelog/cmd

FROM gcr.io/distroless/base-debian10
COPY --from=builder /go/bin/app /
Expand Down
4 changes: 2 additions & 2 deletions changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
log "github.com/sirupsen/logrus"
"golang.org/x/oauth2"

"changelog/model"
"changelog/service"
"github.com/jimschubert/changelog/model"
"github.com/jimschubert/changelog/service"
)

const emptyTree = "master~1"
Expand Down
2 changes: 1 addition & 1 deletion changelog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/google/go-github/v29/github"

"changelog/model"
"github.com/jimschubert/changelog/model"
)

func commits(items ...model.ChangeItem) *[]model.ChangeItem {
Expand Down
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"github.com/jessevdk/go-flags"
log "github.com/sirupsen/logrus"

"changelog"
"changelog/model"
"github.com/jimschubert/changelog"
"github.com/jimschubert/changelog/model"
)

var version = ""
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module changelog
module github.com/jimschubert/changelog

go 1.14

Expand Down
2 changes: 1 addition & 1 deletion service/github_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/google/go-github/v29/github"

"changelog/model"
"github.com/jimschubert/changelog/model"
)

type githubService struct {
Expand Down
2 changes: 1 addition & 1 deletion service/github_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"github.com/google/go-github/v29/github"

"changelog/model"
"github.com/jimschubert/changelog/model"
)

func Test_githubService_shouldExcludeViaRepositoryCommit(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion service/local_git_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/google/go-github/v29/github"
log "github.com/sirupsen/logrus"

"changelog/model"
"github.com/jimschubert/changelog/model"
)

var foundError = errors.New("found")
Expand Down
2 changes: 1 addition & 1 deletion service/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/google/go-github/v29/github"
log "github.com/sirupsen/logrus"

"changelog/model"
"github.com/jimschubert/changelog/model"
)

// Store defines the functional interface for accessing a store of Git commits
Expand Down
2 changes: 1 addition & 1 deletion service/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package service
import (
"testing"

"changelog/model"
"github.com/jimschubert/changelog/model"
)

func Test_applyPullPropertiesChangeItem(t *testing.T) {
Expand Down

0 comments on commit bf79269

Please sign in to comment.