Skip to content

📦👷 — Build deb package in CI

Luc Didry requested to merge luc/reaction:build-deb-in-ci into main

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).

Merge request reports

Loading