Link to artifact of latest `publish:tdszip` is broken
On Deploying section of arara manual (webpage, source code), it says
Provided that this specific directory structure is honoured, the tool is ready for use off the shelf. In fact, the official arara CTAN package is available in the [artifacts section](https://gitlab.com/islandoftex/arara/-/jobs/artifacts/master/download?job=publish:tdszip) of our project repository. Once the package is properly downloaded, we simply need to extract it into a proper `ARARA_HOME` location.
But the referred url
gives 404 status code. Its pattern is alright, only the job publish:tdszip
with rule if: '$CI_COMMIT_TAG != null'
is never run on master branch, only on tags. The following url, with master
replaced by tag name v7.0.4
, works.
According to this Q&A,
Tags are created from commits, not branches. There is no reference in git between tag and branch. Such relation is not tracked in GitLab either so you can’t have rule based on from which branch is tag created, because there is no such thing.
Possible Workaround
To get a constant GitLab url to one of arara's latest artifact, perhaps it can be added to release assets.
- Permalink to latest release and release assets are both introduced in GitLab 14.9, released in Mar, 2022. Try permalink to arara's latest release: https://gitlab.com/islandoftex/arara/-/releases/permalink/latest .
- But to get a constant url to one asset, currently the name of release asset cannot contain variable prefix or suffix, for example version number/tag name. See related GitLab feature request: gitlab-org/gitlab#355727.