publishtest

This commit is contained in:
Philipp Häfelfinger 2019-06-05 23:50:47 +02:00
parent 3ffcd1fd09
commit f6e592456d
1 changed files with 10 additions and 4 deletions

View File

@ -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