1
0
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:
Carlos Alexandro Becker 2018-05-01 21:02:18 -07:00
parent dbbd0bbe44
commit 865c49d65c
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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