Обновить .woodpecker/.woodpecker.yml
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
bd5faf17ad
commit
8ebe6d874f
1 changed files with 4 additions and 4 deletions
|
|
@ -111,8 +111,8 @@ steps:
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -am "Релиз $VERSION"
|
- git commit -am "Релиз $VERSION"
|
||||||
- git tag -f "v$VERSION"
|
- git tag -f "v$VERSION"
|
||||||
- git push https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git develop
|
- git push https://${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git develop
|
||||||
- git push -f https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"
|
- git push -f https://${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"
|
||||||
|
|
||||||
release-upload:
|
release-upload:
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
|
|
@ -132,10 +132,10 @@ steps:
|
||||||
"name": "Релиз '$TAG'",
|
"name": "Релиз '$TAG'",
|
||||||
"body": "Сборка .deb пакета для версии '$TAG'",
|
"body": "Сборка .deb пакета для версии '$TAG'",
|
||||||
"draft": false,
|
"draft": false,
|
||||||
"prerelease": false
|
"prerelease": true
|
||||||
}' || true
|
}' || true
|
||||||
- |
|
- |
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Authorization: token ${FORGEJO_TOKEN}" \
|
-H "Authorization: token ${GONETS}" \
|
||||||
-F "attachment=@$DEB_PATH" \
|
-F "attachment=@$DEB_PATH" \
|
||||||
"https://dev.gossys.dev/api/v1/repos/s.galanskiy/gonets/releases/$TAG/assets"
|
"https://dev.gossys.dev/api/v1/repos/s.galanskiy/gonets/releases/$TAG/assets"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue