publishtest
This commit is contained in:
parent
3ffcd1fd09
commit
f6e592456d
12
.drone.yml
12
.drone.yml
@ -1,5 +1,5 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
build:
|
buildci:
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- go get ./...
|
- go get ./...
|
||||||
@ -7,9 +7,16 @@ pipeline:
|
|||||||
- go build -o dist/PiwigoDirectoryUploader cmd/PiwigoDirectoryUploader/PiwigoDirectoryUploader.go
|
- go build -o dist/PiwigoDirectoryUploader cmd/PiwigoDirectoryUploader/PiwigoDirectoryUploader.go
|
||||||
- go test -cover ./...
|
- go test -cover ./...
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
|
buildrelease:
|
||||||
|
image: golang
|
||||||
|
commands:
|
||||||
|
- go get ./...
|
||||||
|
- go build -o dist/PiwigoDirectoryUploader cmd/PiwigoDirectoryUploader/PiwigoDirectoryUploader.go
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: plugins/github-release
|
image: plugins/github-release
|
||||||
settings:
|
settings:
|
||||||
@ -22,4 +29,3 @@ pipeline:
|
|||||||
- sha512
|
- sha512
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
branch: master
|
|
||||||
|
Loading…
Reference in New Issue
Block a user