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

26 lines
497 B
Markdown
Raw Normal View History

# CircleCI
Here is how to do it with [CircleCI](https://circleci.com):
```yaml
# .circleci/config.yml
version: 2.1
workflows:
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: cimg/go:1.20
steps:
- checkout
- run: curl -sfL https://goreleaser.com/static/run | bash
```