mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
27 lines
512 B
Markdown
27 lines
512 B
Markdown
# 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.17
|
|
steps:
|
|
- checkout
|
|
- run: curl -sL https://git.io/goreleaser | bash
|
|
- run: goreleaser
|
|
```
|