Skip to content

Commit

Permalink
Using drone tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdurham committed Jul 8, 2021
1 parent 9ac2297 commit 475d8cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ steps:
- export PATH=$PATH:/usr/local/go/bin
- GO111MODULE=on go get -u github.com/mitchellh/gox github.com/tcnksm/ghr
- export PATH="$(go env GOPATH)/bin:$PATH"
- export RELEASE_TAG=$(git describe --tags --abbrev=0 )
- RELEASE_TAG=$DRONE_TAG
- echo $RELEASE_TAG
- make -j4 RELEASE_BUILD=true publish
- name: publish
image: plugins/github-release
Expand All @@ -66,8 +67,8 @@ steps:
api_key: $GITHUB_KEY
files: /drone/src/dist/*
draft: true
when:
event: tag
# when:
# event: tag
---
kind: pipeline
type: docker
Expand Down Expand Up @@ -105,6 +106,6 @@ volumes:
path: /var/run/docker.sock
---
kind: signature
hmac: 33e9ee03301467379a6b691425252e8a7ad68124cacb8c66ca1cbb71d4051539
hmac: 0e3d4f13065b357b85560fc55af20da8ab27400201dcca471609c4fecc52e7a1

...
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -371,5 +371,4 @@ clean-dist:
rm -rf dist
.PHONY: clean

publish: dist
./tools/release
publish: dist

0 comments on commit 475d8cd

Please sign in to comment.