mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
587 B
587 B
title |
---|
CI integration |
You may want to wire this to auto-deploy your new tags on Travis, for example:
# .travis.yml
after_success:
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
Here is how to do it with CircleCI:
# circle.yml
deployment:
tag:
tag: /v[0-9]+(\.[0-9]+)*(-.*)*/
owner: user
commands:
- curl -sL https://git.io/goreleaser | bash
Note: If you test multiple versions or multiple OSes you probably want to make sure GoReleaser is just run once.