update circleci

This commit is contained in:
felinae98 2022-03-31 12:44:51 +08:00
parent 858c4cad7f
commit e7d5018481
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -213,5 +213,6 @@ jobs:
name: Publish to Github Release
command: |
go install github.com/tcnksm/ghr@latest
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./dist
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} \
-delete ${CIRCLE_TAG} -n ${CIRCLE_TAG} -b $(git log --format=%B -n 1 $CIRCLE_SHA1) ./dist