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

Commit 9747e1b

Browse files
committed
revert drone github release settings
1 parent 874ed34 commit 9747e1b

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.ci/deploy.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ if [ "$DRONE_BRANCH" = "$BRANCH" ] && [ "$DRONE_PR" != "true" ]; then
7171

7272

7373
# Upload To Github
74-
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
75-
tar jxf /tmp/github-release.tar.bz2 -C /tmp/ && sudo mv /tmp/bin/linux/amd64/github-release /usr/local/bin/github-release
74+
# 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
75+
# tar jxf /tmp/github-release.tar.bz2 -C /tmp/ && sudo mv /tmp/bin/linux/amd64/github-release /usr/local/bin/github-release
7676

77-
cd ..
78-
github-release release -u mephux -r envdb -t v$(cat .Version) -n "v$(cat .Version)" -d "" || true
77+
# github-release release -u mephux -r envdb -t v$(cat .Version) -n "v$(cat .Version)" -d "" || true
7978
fi

.drone.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,17 @@ git:
66
path: github.com/mephux/envdb
77
script:
88
- make release
9-
- ./.ci/deploy.sh
109
notify:
1110
email:
1211
recipients:
1312
13+
publish:
14+
github:
15+
branch: master
16+
script:
17+
artifacts:
18+
- release
19+
tag: v$(cat .Version)
20+
token: $$github_token
21+
user: mephux
22+
repo: envdb

0 commit comments

Comments
 (0)