fix circle ci config

This commit is contained in:
Christoph Haas 2022-11-11 19:18:10 +01:00
parent 51fb9b4139
commit dab1e13c54

View File

@ -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