From 34283555a11db3839d7de494e12a51fc9819d64b Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Wed, 28 Dec 2022 21:40:26 +0100 Subject: [PATCH] refactorings --- {DEBIAN => .DEBIAN}/conffiles | 0 {DEBIAN => .DEBIAN}/control | 0 {DEBIAN => .DEBIAN}/postinst | 0 {DEBIAN => .DEBIAN}/postrm | 0 {DEBIAN => .DEBIAN}/prerm | 0 .gitlab-ci.yml | 4 ++-- 6 files changed, 2 insertions(+), 2 deletions(-) rename {DEBIAN => .DEBIAN}/conffiles (100%) rename {DEBIAN => .DEBIAN}/control (100%) rename {DEBIAN => .DEBIAN}/postinst (100%) rename {DEBIAN => .DEBIAN}/postrm (100%) rename {DEBIAN => .DEBIAN}/prerm (100%) diff --git a/DEBIAN/conffiles b/.DEBIAN/conffiles similarity index 100% rename from DEBIAN/conffiles rename to .DEBIAN/conffiles diff --git a/DEBIAN/control b/.DEBIAN/control similarity index 100% rename from DEBIAN/control rename to .DEBIAN/control diff --git a/DEBIAN/postinst b/.DEBIAN/postinst similarity index 100% rename from DEBIAN/postinst rename to .DEBIAN/postinst diff --git a/DEBIAN/postrm b/.DEBIAN/postrm similarity index 100% rename from DEBIAN/postrm rename to .DEBIAN/postrm diff --git a/DEBIAN/prerm b/.DEBIAN/prerm similarity index 100% rename from DEBIAN/prerm rename to .DEBIAN/prerm diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0176c7c..3cbaa87 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ build:package: # create build directory for .deb sources - mkdir build # copy install instructions - - cp -r DEBIAN build/ + - cp -r .DEBIAN build/DEBIAN # copy app into "/usr/share/fastapi-dls" as "/usr/share/fastapi-dls/app" & copy README.md and version.env - mkdir -p build/usr/share/fastapi-dls - cp -r app build/usr/share/fastapi-dls @@ -127,7 +127,7 @@ deploy:debian: rules: #- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - changes: - - DEBIAN/**/* + - .DEBIAN/**/* - app/**/* needs: - job: build:package