mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
fix: fail if dirty files
This will fail the build whenever it finishes with a dirt index. Closes #661
This commit is contained in:
parent
dbbd0bbe44
commit
865c49d65c
@ -20,8 +20,9 @@ script:
|
||||
- test -n "$TRAVIS_TAG" || go run main.go --snapshot
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
||||
- make static
|
||||
- test -z "$(git status --porcelain)"
|
||||
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
||||
deploy:
|
||||
- deploy:
|
||||
provider: pages
|
||||
|
Loading…
Reference in New Issue
Block a user