📦 👷 — Build deb package in CI
I looked at https://wiki.debian.org/Packaging/Intro how to make a proper Debian package.
Since it requires some Debian tools and since I don’t know what distribution you use, I found easier to make a Gitlab CI recipe to build the package.
Each time you will push a tag, it will build the package and you will find it in the pipeline’s artifacts.
In the artifacts, you will also find a changelog
file: it’s the updated debian/changelog
file. You will need to update it in the repository yourself after the build.
I did not deleted the DEBIAN
folder nor the reaction.deb
target of the Makefile, but if the CI workflow suits you, you can delete them.
BONUS: with a little bit of work, you may be able to automate the release from the CI itself (ask me if you want informations).