From 9747e1bf92848a98fe8bf7aa1f586999a30abdc9 Mon Sep 17 00:00:00 2001 From: Dustin Willis Webber Date: Thu, 16 Apr 2015 10:26:00 -0400 Subject: [PATCH] revert drone github release settings --- .ci/deploy.sh | 7 +++---- .drone.yml | 11 ++++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.ci/deploy.sh b/.ci/deploy.sh index 205860e..1bb3879 100755 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -71,9 +71,8 @@ if [ "$DRONE_BRANCH" = "$BRANCH" ] && [ "$DRONE_PR" != "true" ]; then # Upload To Github - curl -L -o /tmp/github-release.tar.bz2 https://github.com/aktau/github-release/releases/download/v0.5.2/linux-amd64-github-release.tar.bz2 - tar jxf /tmp/github-release.tar.bz2 -C /tmp/ && sudo mv /tmp/bin/linux/amd64/github-release /usr/local/bin/github-release + # curl -L -o /tmp/github-release.tar.bz2 https://github.com/aktau/github-release/releases/download/v0.5.2/linux-amd64-github-release.tar.bz2 + # tar jxf /tmp/github-release.tar.bz2 -C /tmp/ && sudo mv /tmp/bin/linux/amd64/github-release /usr/local/bin/github-release - cd .. - github-release release -u mephux -r envdb -t v$(cat .Version) -n "v$(cat .Version)" -d "" || true + # github-release release -u mephux -r envdb -t v$(cat .Version) -n "v$(cat .Version)" -d "" || true fi diff --git a/.drone.yml b/.drone.yml index 6f34b6f..68e85cf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,8 +6,17 @@ git: path: github.com/mephux/envdb script: - make release - - ./.ci/deploy.sh notify: email: recipients: - dustin.webber@gmail.com +publish: + github: + branch: master + script: + artifacts: + - release + tag: v$(cat .Version) + token: $$github_token + user: mephux + repo: envdb