Обновить .woodpecker/.woodpecker.yml
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
This commit is contained in:
parent
5b82137f63
commit
03caa031ee
1 changed files with 16 additions and 6 deletions
|
|
@ -3,10 +3,20 @@ when:
|
|||
|
||||
steps:
|
||||
checkout:
|
||||
image: woodpeckerci/plugin-git-checkout:latest
|
||||
settings:
|
||||
depth: 0
|
||||
ref: main
|
||||
image: debian:latest
|
||||
environment:
|
||||
GONETS:
|
||||
from_secret: GONETS
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y git git-lfs
|
||||
- git lfs install
|
||||
- git init
|
||||
- git remote add origin https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git
|
||||
- git fetch --no-tags --depth=1 --filter=tree:0 origin 3671127db65ee6a7990216f7be2972534f13dd60
|
||||
- git checkout 3671127db65ee6a7990216f7be2972534f13dd60
|
||||
- git lfs fetch
|
||||
- git submodule update --init --recursive --depth=1 --recommend-shallow
|
||||
|
||||
install_deps:
|
||||
image: debian:latest
|
||||
|
|
@ -46,7 +56,7 @@ steps:
|
|||
prepare_debian:
|
||||
image: debian:latest
|
||||
commands:
|
||||
- DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --createorig
|
||||
- DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --only
|
||||
- cd debian/
|
||||
- rm -f *.ex
|
||||
- rm -f README.*
|
||||
|
|
@ -90,4 +100,4 @@ steps:
|
|||
- git commit -am "Релиз $VERSION"
|
||||
- git tag "v$VERSION"
|
||||
- git push https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git develop
|
||||
- git push https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"
|
||||
- git push https://s.galanskiy:${GONETS}@dev.gossys.dev/s.galanskiy/gonets.git "v$VERSION"
|
||||
Loading…
Add table
Add a link
Reference in a new issue