Modify drone CI config to fully support branch builds
This commit is contained in:
parent
630b1fddaf
commit
024426c0a0
@ -33,11 +33,12 @@ steps:
|
||||
RELEASE_SFTP_KEY: { from_secret: RELEASE_SFTP_KEY }
|
||||
RELEASE_SFTP_URI: { from_secret: RELEASE_SFTP_URI }
|
||||
commands:
|
||||
- make release-clean release BUILD_OS=linux BUILDARCH=amd64 BUILD_VERSION=unstable
|
||||
- make release-clean release BUILD_OS=linux BUILDARCH=amd64 BUILD_VERSION=${DRONE_BRANCH}
|
||||
- make upload
|
||||
when:
|
||||
event: [ push ]
|
||||
branch: [ unstable ]
|
||||
branch:
|
||||
- unstable
|
||||
|
||||
---
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user