rub-kgi / rub-kunstgeschichte-latex

A LaTeX class implementing the formatting guidelines on scientific writing of the art history institute (Kunstgeschichtliches Institut) at Ruhr University Bochum
https://ctan.org/pkg/rub-kunstgeschichte
LaTeX Project Public License v1.3c
0 stars 1 forks source link

Automated CTAN upload #26

Open BizarrePenguin opened 1 month ago

BizarrePenguin commented 1 month ago

For continues deployment of new releases it is essential to add an automated CTAN upload process step to the workflow, so that GitHub release and CTAN upload are consistent, easy and automated.

BizarrePenguin commented 1 month ago

One idea would be to take the message text of the git tag as the announcement text. This would mean that when creating a tag for a release, it must be annotated and the message should be the announcement. This would also create consistency between tags, GitHub releases and CTAN release.

BizarrePenguin commented 1 month ago

I think the easiest way would be to use the l3build upload command. We could specify fields that stay consistent in the build.lua file and provide version number and announcement text dynamically from the git tag.

BizarrePenguin commented 1 month ago

Note that for privacy and the low-level security of CTAN it is necessary that the email address used for communication with the CTAN maintainers which is also needed for the upload is kept private. Therefore we need to find a way to store it privately so that the workflow can use it without revealing it to the public. Make sure to use a different email address than the one printed for contact in the documentation.