Only make all platform builds when pushing to master
This commit is contained in:
parent
7b439cc568
commit
424dfe19af
1 changed files with 5 additions and 9 deletions
14
.drone.yml
14
.drone.yml
|
@ -44,6 +44,7 @@ pipeline:
|
||||||
- make release-dirs
|
- make release-dirs
|
||||||
when:
|
when:
|
||||||
event: [tag, push]
|
event: [tag, push]
|
||||||
|
branch: [ master ]
|
||||||
|
|
||||||
static-build-windows:
|
static-build-windows:
|
||||||
image: karalabe/xgo-latest:latest
|
image: karalabe/xgo-latest:latest
|
||||||
|
@ -56,6 +57,7 @@ pipeline:
|
||||||
- make release-windows
|
- make release-windows
|
||||||
when:
|
when:
|
||||||
event: [tag, push]
|
event: [tag, push]
|
||||||
|
branch: [ master ]
|
||||||
|
|
||||||
static-build-linux:
|
static-build-linux:
|
||||||
image: karalabe/xgo-latest:latest
|
image: karalabe/xgo-latest:latest
|
||||||
|
@ -68,6 +70,7 @@ pipeline:
|
||||||
- make release-linux
|
- make release-linux
|
||||||
when:
|
when:
|
||||||
event: [tag, push]
|
event: [tag, push]
|
||||||
|
branch: [ master ]
|
||||||
|
|
||||||
static-build-darwin:
|
static-build-darwin:
|
||||||
image: karalabe/xgo-latest:latest
|
image: karalabe/xgo-latest:latest
|
||||||
|
@ -80,15 +83,7 @@ pipeline:
|
||||||
- make release-darwin
|
- make release-darwin
|
||||||
when:
|
when:
|
||||||
event: [tag, push]
|
event: [tag, push]
|
||||||
|
branch: [ master ]
|
||||||
# static-build-frontend:
|
|
||||||
# image: webhippie/nodejs:current
|
|
||||||
# pull: true
|
|
||||||
# group: build-static
|
|
||||||
# commands:
|
|
||||||
# - make release-frontend
|
|
||||||
# when:
|
|
||||||
# event: [push, tag ]
|
|
||||||
|
|
||||||
after-build-static:
|
after-build-static:
|
||||||
image: karalabe/xgo-latest:latest
|
image: karalabe/xgo-latest:latest
|
||||||
|
@ -103,6 +98,7 @@ pipeline:
|
||||||
- make release-zip
|
- make release-zip
|
||||||
when:
|
when:
|
||||||
event: [tag, push]
|
event: [tag, push]
|
||||||
|
branch: [ master ]
|
||||||
|
|
||||||
# Push the releases to our pseudo-s3-bucket
|
# Push the releases to our pseudo-s3-bucket
|
||||||
release:
|
release:
|
||||||
|
|
Loading…
Add table
Reference in a new issue