Skip to content

Commit

Permalink
Add goreleaser to drone ci
Browse files Browse the repository at this point in the history
  • Loading branch information
andscoop committed Sep 19, 2018
1 parent a3c076e commit e59544c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .drone.yml
Expand Up @@ -12,3 +12,16 @@ pipeline:
image: golang
commands:
- make test

push:
image: golang
commands: |
if [ "${CI_TAG}" != "" ]; then
curl -sL https://git.io/goreleaser | bash
else
echo "Not tagged, skipping step"
fi
when:
event: tag
tag:
include: "v[0-9].[0-9].[0-9]"

0 comments on commit e59544c

Please sign in to comment.