diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2068672e6aa6b091244fb1100d1fb1662bf5b36b..0b7ec6ae7598bb2fe4a62b7a016db676819bb1d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -76,7 +76,8 @@ package-debian-job: # copy & rename deb control file template - cp gitlab-ci/validate_workflows.control ${DEB_BUILD_DIR}/DEBIAN/control # set package version - - sed -i "s#VERSION_PLACEHOLDER#$VERSION-$REVISION#g" ${DEB_BUILD_DIR}/DEBIAN/control + - sed -i "s#VERSION_PLACEHOLDER#${VERSION}-${REVISION}#g" ${DEB_BUILD_DIR}/DEBIAN/control + - sed -i "s#ARCHITECTURE_PLACEHOLDER#${ARCHITECTURE}#g" "${DEB_BUILD_DIR}/DEBIAN/control" # add checksums - pushd ${DEB_BUILD_DIR} - md5sum $(find * -type f -not -path 'DEBIAN/*') > DEBIAN/md5sums diff --git a/gitlab-ci/validate_workflows.control b/gitlab-ci/validate_workflows.control index 4744914e75910b1c251572b5bc8cff6b3d78ece0..5c637b498d4ec00165e3af54d6081620fde17094 100644 --- a/gitlab-ci/validate_workflows.control +++ b/gitlab-ci/validate_workflows.control @@ -1,6 +1,6 @@ Package: validate-workflows Version: VERSION_PLACEHOLDER -Architecture: all +Architecture: ARCHITECTURE_PLACEHOLDER Maintainer: SLUBArchiv.digital <langzeitarchiv@slub-dresden.de> Description: This is a meta tool to validate files based on specified SLUBArchiv.digital recommendations. Homepage: https://git.slub-dresden.de/digital-preservation/validate_workflows