Skip to content
Snippets Groups Projects
Commit 57b15074 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- refactor: combined 2 steps

parent f7c702ca
Branches
Tags
No related merge requests found
Pipeline #5114 passed
......@@ -81,10 +81,8 @@ package-debian-job:
# copy project files to be packaged
- mkdir -p ${DEB_BUILD_DIR}/usr/local/
- cp -r /usr/local/verapdf ${DEB_BUILD_DIR}/usr/local/
# copy & rename deb control file template
- cp gitlab-ci/verapdf.control ${DEB_BUILD_DIR}/DEBIAN/control
# set package version
- sed -i "s#VERSION_PLACEHOLDER#$VERAPDF_VERSION-$REVISION#g" ${DEB_BUILD_DIR}/DEBIAN/control
# create deb control file from template
- sed "s#VERSION_PLACEHOLDER#${VERAPDF_VERSION}-${REVISION}#g" gitlab-ci/verapdf.control > "${DEB_BUILD_DIR}/DEBIAN/control"
# add checksums
- pushd ${DEB_BUILD_DIR}
- find * -type f -not -path 'DEBIAN/*' -exec md5sum \{\} \; | sort -k2 > DEBIAN/md5sums
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment