mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +00:00
fix circle ci config
This commit is contained in:
parent
51fb9b4139
commit
dab1e13c54
@ -46,7 +46,7 @@ jobs:
|
|||||||
name: "Publish Release on GitHub"
|
name: "Publish Release on GitHub"
|
||||||
command: |
|
command: |
|
||||||
if [ ! -z "${CIRCLE_TAG}" ]; then
|
if [ ! -z "${CIRCLE_TAG}" ]; then
|
||||||
go get github.com/tcnksm/ghr
|
go install github.com/tcnksm/ghr@latest
|
||||||
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace $CIRCLE_TAG ~/repo/dist
|
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace $CIRCLE_TAG ~/repo/dist
|
||||||
fi
|
fi
|
||||||
working_directory: ~/repo
|
working_directory: ~/repo
|
||||||
|
Loading…
Reference in New Issue
Block a user