Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxcoltxxx authored Dec 3, 2018
1 parent 764809e commit 8ae25df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ script:
gox \
-os="linux darwin windows" \
-arch="amd64" \
-output="dist/{{.Dir}}_${TRAVIS_TAG}_{{.OS}}_{{.Arch}}" \
-output="build/{{.Dir}}_${TRAVIS_TAG}_{{.OS}}_{{.Arch}}" \
-ldflags " \
-X github.com/prometheus/common/version.Revision=${TRAVIS_COMMIT} \
-X github.com/prometheus/common/version.Version=${TRAVIS_TAG} \
Expand All @@ -25,7 +25,7 @@ script:
"
before_deploy:
- cd dist
- cd build
- chmod +x ./*
- for f in *; do tar -czf $f.tar.gz $f && rm $f; done
- cd ..
Expand Down

0 comments on commit 8ae25df

Please sign in to comment.