Update .drone.yml
parent
bcf3320dbf
commit
77ac031853
10
.drone.yml
10
.drone.yml
|
|
@ -36,24 +36,18 @@ steps:
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: lorisleiva/laravel-docker
|
image: lorisleiva/laravel-docker
|
||||||
environment:
|
|
||||||
BUILD_VERSION: "1.0.1-pre"
|
|
||||||
commands:
|
commands:
|
||||||
- composer global require humbug/box
|
- composer global require humbug/box
|
||||||
- echo php backupper app:build --build-version=$BUILD_VERSION -n >> build.sh
|
- php backupper app:build --build-version=$(git describe --abbrev=0 --tags) -n
|
||||||
- chmod +x ./build.sh
|
|
||||||
- ./build.sh
|
|
||||||
- php builds/backupper
|
- php builds/backupper
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/github-release
|
image: plugins/github-release
|
||||||
environment:
|
|
||||||
BUILD_VERSION: "1.0.1-pre"
|
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: api_key
|
from_secret: api_key
|
||||||
files:
|
files:
|
||||||
- builds/*
|
- builds/*
|
||||||
title: $BUILD_VERSION
|
prerelease: true
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue