Only build on push, not release
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e31652d481
commit
ac872c1681
10
.drone.yml
10
.drone.yml
@ -16,7 +16,7 @@ steps:
|
|||||||
- export VERSION=`grep "Version" main.go | head -n 1 | awk '{print $3}' | sed -e 's/^"//' -e 's/"$//' | tr -d '\n'`
|
- export VERSION=`grep "Version" main.go | head -n 1 | awk '{print $3}' | sed -e 's/^"//' -e 's/"$//' | tr -d '\n'`
|
||||||
- echo "v$VERSION" > /build/version.txt
|
- echo "v$VERSION" > /build/version.txt
|
||||||
- chmod +x packaging/build-package.sh
|
- chmod +x packaging/build-package.sh
|
||||||
- ARCH=386,amd64,armv7,arm64 packaging/build-package.sh
|
- ARCH=386,amd64,arm,arm64 packaging/build-package.sh
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
path: /build
|
path: /build
|
||||||
@ -49,4 +49,10 @@ steps:
|
|||||||
- latest
|
- latest
|
||||||
volumes:
|
volumes:
|
||||||
- name: build
|
- name: build
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
Loading…
Reference in New Issue
Block a user