Обновить .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
05650ee576
commit
59d4103dba
1 changed files with 3 additions and 5 deletions
|
|
@ -105,10 +105,8 @@ steps:
|
||||||
- git push "https://s.galanskiy:b4785198d18200dfed812dc4299575f736255bd7@dev.gossys.dev/s.galanskiy/gonets.git" "release/$VERSION"
|
- git push "https://s.galanskiy:b4785198d18200dfed812dc4299575f736255bd7@dev.gossys.dev/s.galanskiy/gonets.git" "release/$VERSION"
|
||||||
- git push -f https://s.galanskiy:b4785198d18200dfed812dc4299575f736255bd7@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"
|
- git push -f https://s.galanskiy:b4785198d18200dfed812dc4299575f736255bd7@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"
|
||||||
|
|
||||||
release-upload:
|
# СОЗДАНИЕ И ЗАГРУЗКА РЕЛИЗА ЧЕРЕЗ API
|
||||||
image: curlimages/curl:latest
|
- VERSION=$(cat version.env | grep VERSION | cut -d'=' -f2)
|
||||||
commands:
|
|
||||||
- VERSION=$(dpkg-parsechangelog -l./debian/changelog --show-field Version)
|
|
||||||
- TAG="v$VERSION"
|
- TAG="v$VERSION"
|
||||||
- DEB_PATH="../gonets_${VERSION}_amd64.deb"
|
- DEB_PATH="../gonets_${VERSION}_amd64.deb"
|
||||||
- |
|
- |
|
||||||
|
|
@ -126,4 +124,4 @@ steps:
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Authorization: token b4785198d18200dfed812dc4299575f736255bd7" \
|
-H "Authorization: token b4785198d18200dfed812dc4299575f736255bd7" \
|
||||||
-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