Skip to content

Commit 9c557eb

Browse files
authored
Update config.yml
1 parent 7fb0e17 commit 9c557eb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
- run: make upx
3333
- run: make compilesquash
3434
- run: cp OS/Kernel/openwrt-ar71xx-generic-cus531-16M-kernel.bin dist/
35-
# - run:
36-
# name: "Publish Release on GitHub"
37-
# command: |
38-
# go get github.com/tcnksm/ghr
39-
# VERSION=$(git rev-parse --short HEAD)
40-
# ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete 1.0.${CIRCLE_BUILD_NUM} dist/
35+
- run:
36+
name: "Publish Release on GitHub"
37+
command: |
38+
go install github.com/tcnksm/ghr
39+
VERSION=$(git rev-parse --short HEAD)
40+
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete 1.0.${CIRCLE_BUILD_NUM} dist/
4141
publish-github-release:
4242
docker:
4343
- image: cibuilds/github:0.10

0 commit comments

Comments
 (0)