fix(branch): get branch from detached HEAD

This commit is contained in:
Nightapes
2019-06-18 22:59:07 +02:00
parent 0eafe84d68
commit e4ba4834eb
2 changed files with 25 additions and 3 deletions

View File

@@ -1,5 +1,8 @@
dist: xenial
git:
depth: false
language: go
go:
- 1.12.x
@@ -23,7 +26,6 @@ before_script:
script:
- golangci-lint run ./...
- git checkout master
- go test -v ./...
- go build -o build/go-semantic-release-temp ./cmd/go-semantic-release/
- echo "Building version `./build/go-semantic-release-temp next`"