Update .drone.yml
continuous-integration/drone/tag Build was killed Details

pull/1/head
Muhep Atasoy 2019-12-15 21:07:46 +03:00
parent dd5021230f
commit 98393d73be
1 changed files with 19 additions and 22 deletions

View File

@ -6,11 +6,11 @@ clone:
tags: true tags: true
steps: steps:
# - name: composer - name: composer
# pull: if-not-exists pull: if-not-exists
# image: composer image: composer
# commands: commands:
# - composer install --prefer-dist - composer install --prefer-dist
# #
# - name: test # - name: test
# image: lorisleiva/laravel-docker # image: lorisleiva/laravel-docker
@ -40,24 +40,21 @@ steps:
- name: build - name: build
image: lorisleiva/laravel-docker image: lorisleiva/laravel-docker
commands: commands:
# - composer global require humbug/box - composer global require humbug/box
# - composer install - composer install
- git pull origin master --tags - git pull origin master --tags
- git tag
- echo "$(git describe --abbrev=0 --tags)" > d
- cat d
- php backupper app:build --build-version=$(git describe --abbrev=0 --tags) -n - php backupper app:build --build-version=$(git describe --abbrev=0 --tags) -n
- php builds/backupper - php builds/backupper
# when: when:
# event: tag event: tag
# - name: publish - name: publish
# image: plugins/github-release image: plugins/github-release
# settings: settings:
# api_key: api_key:
# from_secret: api_key from_secret: api_key
# files: files:
# - builds/* - builds/*
# prerelease: true prerelease: true
# when: when:
# event: tag event: tag