version and release automatized

This commit is contained in:
root
2020-10-05 21:02:00 +02:00
parent 4e4a664d38
commit a67bbcc340
12 changed files with 27 additions and 90 deletions
+3 -6
View File
@@ -9,7 +9,7 @@ steps:
sonar_host: https://sonar.hatthieves.es
sonar_token:
from_secret: sonar_token
sources: ./
sources: .
- name: Build Ubuntu deb package
image: ubuntu
@@ -17,12 +17,9 @@ steps:
- name: deb_packages
path: /debian
commands:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update && apt-get install -y dpkg-dev debhelper
- dpkg-buildpackage -us -uc
- cp ../*.deb .
- ./build-deb.sh
- dpkg -i *.deb
- rm -rf /debian/* && cp *.deb /debian
- cp *.deb /debian && rm *.deb
- lch -v
- name: Build CentOS rpm package