Added creating releases
This commit is contained in:
parent
dca57a3acd
commit
b4f5ec23eb
13
.drone.yml
13
.drone.yml
@ -5,4 +5,15 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- go build -ldflags="-s -w"
|
- GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o dist/usergen-amd64-windows.exe
|
||||||
|
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o dist/usergen-amd64-linux
|
||||||
|
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o dist/usergen-amd64-darwin
|
||||||
|
|
||||||
|
- name: create_release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_public_releases
|
||||||
|
base_url: http://git.mroberts.dev
|
||||||
|
files: dist/*
|
||||||
|
checksum: sha256
|
||||||
Loading…
x
Reference in New Issue
Block a user