Skip to content

Commit

Permalink
#42 - fixed goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
g4s8 committed Feb 7, 2020
1 parent cc1cf83 commit 4afd231
Show file tree
Hide file tree
Showing 3 changed files with 538 additions and 19 deletions.
36 changes: 20 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
before:
hooks:
- go mod download
builds:
-
main: ./cmd/gitstrap/main.go
Expand All @@ -8,23 +11,24 @@ builds:
-X "main.buildVersion={{.Env.TRAVIS_TAG}}{{.Env.TRAVIS_BUILD_NUMBER}}"
-X "main.buildCommit={{.Env.TRAVIS_COMMIT}}"
archives:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
brews:
github:
owner: g4s8
name: .tap
commit_author:
name: goreleaser
email: [email protected]
homepage: "https://github.com/g4s8/gitstrap"
folder: Formula
dependencies:
- git
- github:
owner: g4s8
name: .tap
commit_author:
name: goreleaser
email: [email protected]
homepage: "https://github.com/g4s8/gitstrap"
folder: Formula
dependencies:
- git
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
36 changes: 33 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,44 @@
module github.com/g4s8/gitstrap

require (
cloud.google.com/go v0.52.0 // indirect
cloud.google.com/go/storage v1.5.0 // indirect
code.gitea.io/sdk/gitea v0.11.0 // indirect
contrib.go.opencensus.io/exporter/ocagent v0.6.0 // indirect
github.com/Azure/azure-pipeline-go v0.2.2 // indirect
github.com/Azure/azure-sdk-for-go v39.0.0+incompatible // indirect
github.com/Azure/go-autorest v13.3.3+incompatible // indirect
github.com/Azure/go-autorest/autorest v0.9.5 // indirect
github.com/Azure/go-autorest/autorest/azure/auth v0.4.2 // indirect
github.com/Azure/go-autorest/autorest/to v0.3.0 // indirect
github.com/Azure/go-autorest/autorest/validation v0.2.0 // indirect
github.com/apex/log v1.1.2 // indirect
github.com/aws/aws-sdk-go v1.28.12 // indirect
github.com/g4s8/gopwd v0.0.0-20191109142035-f7311044bc0a
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.0.0 // indirect
github.com/google/wire v0.4.0 // indirect
github.com/goreleaser/goreleaser v0.126.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.12.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/mattn/go-ieproxy v0.0.0-20200203040449-2dbc853185d9 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/stretchr/testify v1.4.0
github.com/urfave/cli/v2 v2.1.1
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
github.com/xanzy/go-gitlab v0.24.0 // indirect
go.opencensus.io v0.22.3 // indirect
golang.org/x/crypto v0.0.0-20200206161412-a0c6ece9d31a // indirect
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a // indirect
golang.org/x/lint v0.0.0-20200130185559-910be7a94367 // indirect
golang.org/x/net v0.0.0-20200202094626-16171245cfb2 // indirect
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 // indirect
golang.org/x/tools v0.0.0-20200207131002-533eb2654509 // indirect
google.golang.org/api v0.17.0 // indirect
google.golang.org/genproto v0.0.0-20200205142000-a86caf926a67 // indirect
google.golang.org/grpc v1.27.1 // indirect
gopkg.in/h2non/gock.v1 v1.0.15
gopkg.in/yaml.v2 v2.2.4
gopkg.in/yaml.v2 v2.2.8
)

go 1.13
Loading

0 comments on commit 4afd231

Please sign in to comment.