|
|
@ -32,8 +32,17 @@ pipeline: |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make generate-release-file release |
|
|
|
- make generate-release-file release |
|
|
|
when: |
|
|
|
when: |
|
|
|
event: [ push, tag ] |
|
|
|
event: [ push ] |
|
|
|
branch: [ master ] |
|
|
|
branch: [ master ] |
|
|
|
|
|
|
|
static: |
|
|
|
|
|
|
|
image: golang:1.10 |
|
|
|
|
|
|
|
pull: true |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
GOPATH: /go |
|
|
|
|
|
|
|
commands: |
|
|
|
|
|
|
|
- make generate-release-file release |
|
|
|
|
|
|
|
when: |
|
|
|
|
|
|
|
event: [ tag ] |
|
|
|
gitea: |
|
|
|
gitea: |
|
|
|
image: plugins/gitea-release:latest |
|
|
|
image: plugins/gitea-release:latest |
|
|
|
pull: true |
|
|
|
pull: true |
|
|
|