mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
update ci
This commit is contained in:
parent
be69bad0bb
commit
c9dd21f5c0
@ -139,12 +139,13 @@ jobs:
|
||||
docker:
|
||||
- image: circleci/golang:1.17
|
||||
steps:
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: .
|
||||
- run:
|
||||
name: Publish to Github Release
|
||||
command: |
|
||||
go get github.com/tcnksm/ghr
|
||||
go install github.com/tcnksm/ghr
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user