From bb792ca4c8769d9b4d33da0bd951a33461acb8a6 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Mon, 10 Apr 2023 20:48:01 -0300 Subject: ci: use one command per line instead of chaining them To turn each step in question into a normal multi-line shell script. Note that each step already runs with `set -e` by default. --- .gitlab-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfad57c08..448cfc8cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,18 +96,18 @@ debian_ci: - git config user.name "$DEBFULLNAME" - git config user.email "$DEBEMAIL" - | - cd $CI_PROJECT_DIR/.. && - (apt-get source --download-only -t experimental firejail || - apt-get source --download-only firejail) + cd $CI_PROJECT_DIR/.. + apt-get source --download-only -t experimental firejail || + apt-get source --download-only firejail - | - cd $CI_PROJECT_DIR && + cd $CI_PROJECT_DIR tar xf ../firejail_*.debian.tar.* - rm -rf debian/patches/ - | - VERSION=$(grep ^PACKAGE_VERSION= configure | cut -d "'" -f 2) && - dch -v ${VERSION}-0.1~ci "Non-maintainer upload." && - git archive -o ../firejail_${VERSION}.orig.tar.gz HEAD && - pristine-tar commit ../firejail_${VERSION}.orig.tar.gz ci_build && + VERSION=$(grep ^PACKAGE_VERSION= configure | cut -d "'" -f 2) + dch -v ${VERSION}-0.1~ci "Non-maintainer upload." + git archive -o ../firejail_${VERSION}.orig.tar.gz HEAD + pristine-tar commit ../firejail_${VERSION}.orig.tar.gz ci_build git branch -m pristine-tar origin/pristine-tar - git add debian - git commit -m "add debian/" -- cgit v1.2.3-54-g00ecf