Determine master version via git tag.

This commit is contained in:
Florian Pose 2024-06-07 10:42:23 +02:00
parent f538987d66
commit c3db4383b6
2 changed files with 5 additions and 5 deletions

View File

@ -119,7 +119,7 @@ pdf:
image: registry.gitlab.com/etherlab.org/build-container-factory/leap-15.3:texlive
script:
- cd documentation
- git show -s --format="\def\revision{%h}\def\gitversion{%(describe)}\def\gitauthor{%an}\def\isodate#1-#2-#3x{\day=#3 \month=#2 \year=#1}\isodate %csx" HEAD > git.tex
- git show -s --format="\def\revision{%h}\def\gitversion{%(describe)}\def\gittag{%(describe:abbrev=0)}\def\gitauthor{%an}\def\isodate#1-#2-#3x{\day=#3 \month=#2 \year=#1}\isodate %csx" HEAD > git.tex
- make
- make index
- make

View File

@ -57,7 +57,7 @@
\input{git}
\newcommand{\masterversion}{1.5.2}
\newcommand{\masterversion}{\gittag}
\newcommand{\linenum}[1]{\normalfont\textcircled{\tiny #1}}
\makeindex
@ -3171,8 +3171,8 @@ There are several ways to get the master software:
\begin{enumerate}
\item An official release (for example \masterversion), can be downloaded from
the master's website\footnote{\url{http://etherlab.org/en/ethercat/index.php}}
at~the EtherLab project~\cite{etherlab} as a tarball.
the master's website\footnote{\url{https://etherlab.org/ethercat}}
at the EtherLab project~\cite{etherlab} as a tarball.
\item The most recent development revision (and moreover any other revision)
can be obtained via the Git~\cite{git} repository on the master's
@ -3492,7 +3492,7 @@ KERNEL=="EtherCAT[0-9]*", MODE="0664", GROUP="users"
\bibitem{etherlab} Ingenieurgemeinschaft IgH: EtherLab -- Open Source Toolkit
for rapid realtime code generation under Linux with Simulink/RTW and EtherCAT
technology. \url{http://etherlab.org/en}, 2008.
technology. \url{https://etherlab.org}, 2024.
\bibitem{dlspec} IEC 61158-4-12: Data-link Protocol Specification.
International Electrotechnical Commission (IEC), 2005.