Обновить .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
95f226bb7c
commit
c4f0a695dc
1 changed files with 1 additions and 5 deletions
|
|
@ -1,7 +1,3 @@
|
||||||
when:
|
|
||||||
event: [push, tag]
|
|
||||||
branch: main
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
checkout:
|
checkout:
|
||||||
image: debian:latest
|
image: debian:latest
|
||||||
|
|
@ -115,7 +111,7 @@ steps:
|
||||||
TAG="v$VERSION"
|
TAG="v$VERSION"
|
||||||
|
|
||||||
# Найти .deb файл в родительской директории
|
# Найти .deb файл в родительской директории
|
||||||
DEB_PATH=$(find .. -maxdepth 1 -type f -name "gonets_${VERSION}_*.deb" | head -n 1)
|
DEB_PATH=$(find .. -maxdepth 1 -type f -name "gonets_${VERSION}_amd64.deb" | head -n 1)
|
||||||
|
|
||||||
# Проверка наличия файла
|
# Проверка наличия файла
|
||||||
if [ ! -f "$DEB_PATH" ]; then
|
if [ ! -f "$DEB_PATH" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue