Обновить .woodpecker/.woodpecker.yml
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
parent bd5faf17ad
commit 8ebe6d874f

View file

@ -111,8 +111,8 @@ steps:
- git add .
- git commit -am "Релиз $VERSION"
- git tag -f "v$VERSION"
- git push https://s.galanskiy:${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 https://${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git develop
- git push -f https://${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"
release-upload:
image: curlimages/curl:latest
@ -132,10 +132,10 @@ steps:
"name": "Релиз '$TAG'",
"body": "Сборка .deb пакета для версии '$TAG'",
"draft": false,
"prerelease": false
"prerelease": true
}' || true
- |
curl -s -X POST \
-H "Authorization: token ${FORGEJO_TOKEN}" \
-H "Authorization: token ${GONETS}" \
-F "attachment=@$DEB_PATH" \
"https://dev.gossys.dev/api/v1/repos/s.galanskiy/gonets/releases/$TAG/assets"