This commit is contained in:
parent
5017258f8c
commit
3671127db6
1 changed files with 10 additions and 8 deletions
|
|
@ -3,15 +3,17 @@ when:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
checkout:
|
checkout:
|
||||||
image: woodpeckerci/plugin-git-checkout:latest
|
image: debian:latest
|
||||||
settings:
|
|
||||||
depth: 0
|
|
||||||
ref: main
|
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apt-get update
|
||||||
- apt install -y git-lfs
|
- apt-get install -y git git-lfs
|
||||||
- git lfs install
|
- git lfs install
|
||||||
|
- git init
|
||||||
|
- git remote add origin https://dev.gossys.dev/s.galanskiy/gonets.git
|
||||||
|
- git fetch --no-tags --depth=1 origin main
|
||||||
|
- git checkout main
|
||||||
- git lfs fetch
|
- git lfs fetch
|
||||||
|
- git submodule update --init --recursive --depth=1 --recommend-shallow
|
||||||
|
|
||||||
install_deps:
|
install_deps:
|
||||||
image: debian:latest
|
image: debian:latest
|
||||||
|
|
@ -51,7 +53,7 @@ steps:
|
||||||
prepare_debian:
|
prepare_debian:
|
||||||
image: debian:latest
|
image: debian:latest
|
||||||
commands:
|
commands:
|
||||||
- DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --createorig
|
- DEBEMAIL="devteam@gossys.dev" DEBFULLNAME="GOSSYS LLC" dh_make --only
|
||||||
- cd debian/
|
- cd debian/
|
||||||
- rm -f *.ex
|
- rm -f *.ex
|
||||||
- rm -f README.*
|
- rm -f README.*
|
||||||
|
|
@ -95,4 +97,4 @@ steps:
|
||||||
- git commit -am "Релиз $VERSION"
|
- git commit -am "Релиз $VERSION"
|
||||||
- git tag "v$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 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