mirror of
https://gitea.com/jolheiser/sip
synced 2024-11-22 11:41:59 +01:00
Merge pull request 'Fix Drone release' (#14) from drone-release into master
Reviewed-on: https://gitea.com/jolheiser/sip/pulls/14
This commit is contained in:
commit
5ea204fb61
34
.drone.yml
34
.drone.yml
@ -30,7 +30,7 @@ steps:
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: release
|
||||
name: test-release
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
@ -41,6 +41,33 @@ trigger:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: fetch-tags
|
||||
pull: always
|
||||
image: docker:git
|
||||
commands:
|
||||
- git fetch --tags --force
|
||||
|
||||
- name: make-release
|
||||
pull: always
|
||||
image: techknowlogick/xgo:latest
|
||||
environment:
|
||||
GOPROXY: https://goproxy.cn
|
||||
commands:
|
||||
- export PATH=$PATH:$GOPATH/bin
|
||||
- make release
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: release
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
||||
steps:
|
||||
@ -50,7 +77,7 @@ steps:
|
||||
commands:
|
||||
- git fetch --tags --force
|
||||
|
||||
- name: release
|
||||
- name: make-release
|
||||
pull: always
|
||||
image: techknowlogick/xgo:latest
|
||||
environment:
|
||||
@ -68,6 +95,3 @@ steps:
|
||||
base_url: https://gitea.com
|
||||
files:
|
||||
- "dist/release/*"
|
||||
when:
|
||||
event:
|
||||
- tag
|
Loading…
Reference in New Issue
Block a user