Skip to content
Snippets Groups Projects
Commit a3939fb5 authored by Sébastien Dinot's avatar Sébastien Dinot
Browse files

Automatically generated product version files to avoid oversights

parent 6013358c
No related branches found
No related tags found
No related merge requests found
Pipeline #1467 failed
......@@ -9,9 +9,13 @@ variables:
variables:
JEKYLL_OPTS: ""
script:
# Generate YAML files that provide the list of versions whose technical
# documentation is available on the website.
- bin/gen_versions_yml.sh
# Generate the static website
- jekyll build $JEKYLL_OPTS
# Add symbolic links for website
- sh bin/links.sh
- bin/links.sh
artifacts:
paths:
- _site
......@@ -58,7 +62,7 @@ www:
##
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
##
## Add known hosts
##
......
#/bin/bash
# Extract Orekit versions from the changes.xml file provided in the Orekit
# repository and ignore versions prior to 6.1 (they are no longer managed).
curl -sSL https://gitlab.orekit.org/orekit/orekit/-/raw/master/src/changes/changes.xml \
| xmlstarlet sel -T -t -m '//document/body/release/@version' -v 'concat("- ",.)' -n \
| grep -vE '^- ([0-5]\.|6\.0)' \
> _data/orekit/versions.yml
# Extract Rugged versions from the changes.xml file provided in the Rugged
# repository
curl -sSL https://gitlab.orekit.org/orekit/rugged/-/raw/master/src/changes/changes.xml \
| xmlstarlet sel -T -t -m '//document/body/release/@version' -v 'concat("- ",.)' -n \
> _data/rugged/versions.yml
# Extract Orekit Tutorials versions from the changes.xml file provided in the
# Orekit Tutorials repository
curl -sSL https://gitlab.orekit.org/orekit/orekit-tutorials/-/raw/master/src/changes/changes.xml \
| xmlstarlet sel -T -t -m '//document/body/release/@version' -v 'concat("- ",.)' -n \
> _data/orekit-tutorials/versions.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment