Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 497 Bytes

circle.md

File metadata and controls

25 lines (23 loc) · 497 Bytes

CircleCI

Here is how to do it with CircleCI:

# .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.18
    steps:
      - checkout
      - run: curl -sfL https://goreleaser.com/static/run | bash