1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00

docs: Update CircleCI example (#1224)

This commit is contained in:
Ricardo N Feliciano 2019-11-01 08:25:36 -04:00 committed by Carlos Alexandro Becker
parent b7ddafbbd8
commit ff584f0731

View File

@ -65,28 +65,28 @@ that's the case you will want to make sure GoReleaser is run just once.
## CircleCI
Here is how to do it with [CircleCI 2.0](https://circleci.com):
Here is how to do it with [CircleCI](https://circleci.com):
```yml
# .circleci/config.yml
version: 2
jobs:
release:
docker:
- image: circleci/golang:1.10
steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash
version: 2.1
workflows:
version: 2
release:
main:
jobs:
- release:
# Only run this job on git tag pushes
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
jobs:
release:
docker:
- image: circleci/golang:1.13
steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash
```
## Drone