Skip to content

Commit

Permalink
add temporary grab fork version, util pr merge
Browse files Browse the repository at this point in the history
  • Loading branch information
hbakhtiyor committed Dec 22, 2018
1 parent f75d4aa commit 6bdc044
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
2 changes: 1 addition & 1 deletion goreleaser.yml → .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project_name: gt
build:
main: main.go
main: .
binary: gt
ldflags: -s -w -X main.Version="v{{.Version}}-{{.Date}}"
env:
Expand Down
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ go:

env:
- "PATH=/home/travis/gopath/bin:$PATH"
- GO111MODULE=on

install: true

script:
- env GO111MODULE=on go build -v
# calls goreleaser
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_OS_NAME = linux
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/hbakhtiyor/gt

require github.com/cavaliercoder/grab v2.0.0+incompatible
require github.com/hbakhtiyor/grab v2.0.1-0.20181222132738-723061bb4300+incompatible
5 changes: 4 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
github.com/cavaliercoder/grab v2.0.0+incompatible/go.mod h1:tTBkfNqSBfuMmMBFaO2phgyhdYhiZQ/+iXCZDzcDsMI=
github.com/hbakhtiyor/grab v2.0.0+incompatible h1:x+dQSWKjhMnTYNCLPd8XrVl1vM4rehWoMVO3X31ugi4=
github.com/hbakhtiyor/grab v2.0.0+incompatible/go.mod h1:ao2v+w1+nllsyI3767z+4afD0KjODm0mx6pipvBigvs=
github.com/hbakhtiyor/grab v2.0.1-0.20181222132738-723061bb4300+incompatible h1:yQ02d4XHEUFFMYja/BPGNNVqMVGYrV5cecWskcW71LM=
github.com/hbakhtiyor/grab v2.0.1-0.20181222132738-723061bb4300+incompatible/go.mod h1:ao2v+w1+nllsyI3767z+4afD0KjODm0mx6pipvBigvs=
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
"time"

"github.com/cavaliercoder/grab"
"github.com/hbakhtiyor/grab"
)

var (
Expand Down

0 comments on commit 6bdc044

Please sign in to comment.