mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-02-04 21:54:08 +08:00
update ci
This commit is contained in:
parent
be69bad0bb
commit
c9dd21f5c0
@ -139,12 +139,13 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
- image: circleci/golang:1.17
|
- image: circleci/golang:1.17
|
||||||
steps:
|
steps:
|
||||||
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
name: Publish to Github Release
|
name: Publish to Github Release
|
||||||
command: |
|
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/')
|
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
|
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