forked from wrenn/wrenn
This commit is contained in:
@ -11,13 +11,12 @@ steps:
|
|||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y git
|
- pip install wrenn
|
||||||
- pip install wrenn.py
|
|
||||||
- export GO_VERSION=$$(grep '^go ' go.mod | cut -d' ' -f2)
|
- export GO_VERSION=$$(grep '^go ' go.mod | cut -d' ' -f2)
|
||||||
- python .woodpecker/scripts/build.py
|
- python .woodpecker/scripts/build.py
|
||||||
- VERSION=$$(cat VERSION_CP)
|
- VERSION=$$(cat VERSION_CP)
|
||||||
- git config user.name "Woodpecker CI"
|
- git config user.name "R3dRum92"
|
||||||
- git config user.email "woodpecker@omukk.dev"
|
- git config user.email "tksadik@omukk.dev"
|
||||||
- git tag "v$${VERSION}"
|
- git tag "v$${VERSION}"
|
||||||
- git push "https://tksadik92:$${GITEA_TOKEN}@git.omukk.dev/tksadik92/wrenn-releases.git" "v$${VERSION}"
|
- git push "https://tksadik92:$${GITEA_TOKEN}@git.omukk.dev/tksadik92/wrenn-releases.git" "v$${VERSION}"
|
||||||
|
|
||||||
@ -31,7 +30,7 @@ steps:
|
|||||||
ZHIPU_API_KEY:
|
ZHIPU_API_KEY:
|
||||||
from_secret: zhipu_api_key
|
from_secret: zhipu_api_key
|
||||||
commands:
|
commands:
|
||||||
- pip install wrenn.py
|
- pip install wrenn
|
||||||
- python .woodpecker/scripts/release_notes.py
|
- python .woodpecker/scripts/release_notes.py
|
||||||
depends_on: [sandbox-1]
|
depends_on: [sandbox-1]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user