update ci

This commit is contained in:
felinae98 2021-12-06 16:57:53 +08:00
parent c9dd21f5c0
commit 5e78060d64
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

@ -145,7 +145,7 @@ jobs:
- run:
name: Publish to Github Release
command: |
go install github.com/tcnksm/ghr
go install github.com/tcnksm/ghr@latest
VERSION=$(cat pyproject.toml | grep version | sed 's/version = "\([0-9\.]*\)"/\1/')
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./dist