From 77ac0318534648da57552a761a3933bde056fd6f Mon Sep 17 00:00:00 2001 From: Muhep Atasoy Date: Sun, 15 Dec 2019 20:44:33 +0300 Subject: [PATCH] Update .drone.yml --- .drone.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1958123..6db0687 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,24 +36,18 @@ steps: - name: build image: lorisleiva/laravel-docker - environment: - BUILD_VERSION: "1.0.1-pre" commands: - composer global require humbug/box - - echo php backupper app:build --build-version=$BUILD_VERSION -n >> build.sh - - chmod +x ./build.sh - - ./build.sh + - php backupper app:build --build-version=$(git describe --abbrev=0 --tags) -n - php builds/backupper - name: publish image: plugins/github-release - environment: - BUILD_VERSION: "1.0.1-pre" settings: api_key: from_secret: api_key files: - builds/* - title: $BUILD_VERSION + prerelease: true when: event: tag