org: replace version references with org-babel blocks

This way we have fewer lines to edit multiple when making releases.

* doc/org/index.org, doc/org/init.el.in, doc/org/install.org,
doc/org/setup.org, doc/org/tools.org: Use org-babel instead of macros
for release version and links.
This commit is contained in:
Alexandre Duret-Lutz 2023-04-18 17:35:05 +02:00
parent eb80f5d5af
commit 184aa9931e
5 changed files with 23 additions and 11 deletions

View file

@ -9,9 +9,9 @@
:CUSTOM_ID: tar
:END:
The latest release of Spot is version {{{LASTRELEASE}}}:
The latest release of Spot is version call_SPOT_VERSION() and was released on {{{LASTDATE}}}:
- {{{LASTTARBALL}}} (see also the {{{LASTNEWS}}})
- call_TARBALL_LINK() (see also the call_NEWS_LINK())
Past releases can be found [[https://www.lrde.epita.fr/dload/spot/][in the same directory]]. If you are
interested in /future/ releases, you can always peek at the [[https://gitlab.lre.epita.fr/spot/spot/-/jobs/artifacts/next/browse?job=make-dist][last