27 lines
603 B
YAML
27 lines
603 B
YAML
version: 2
|
|
jobs:
|
|
all:
|
|
docker:
|
|
- image: circleci/golang:1.11
|
|
steps:
|
|
- checkout
|
|
- setup_remote_docker
|
|
- run:
|
|
name: build-and-release
|
|
command: |
|
|
curl -L https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz \
|
|
| sudo tar --strip=1 -C /usr/bin -xzvf -
|
|
make release PVERSION=${CIRCLE_TAG}
|
|
|
|
workflows:
|
|
version: 2
|
|
all:
|
|
jobs:
|
|
- all:
|
|
context: default
|
|
filters:
|
|
tags:
|
|
only: /^.*$/
|
|
branches:
|
|
ignore: /.*/
|