Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
revert drone github release settings
Browse files Browse the repository at this point in the history
  • Loading branch information
djcas9 committed Apr 16, 2015
1 parent 874ed34 commit 9747e1b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .ci/deploy.sh
Expand Up @@ -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
11 changes: 10 additions & 1 deletion .drone.yml
Expand Up @@ -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

0 comments on commit 9747e1b

Please sign in to comment.