Inist-CNRS / web-services

Web services at Inist-CNRS
https://services.istex.fr
5 stars 0 forks source link

Add get-production-versions shell script #130

Closed parmentf closed 1 month ago

parmentf commented 1 month ago

Get the version of the service in production, according to the swagger.json it returns.

Example:

$ bin/get-production-versions.sh services/*
address-kit 2.1.2
affiliation-rnsr    3.4.4
affiliations-tools  1.1.8
ark-tools   1.28.3
astro-ner   1.0.10
authors-tools   2.5.4
base-line   1.0.13
base-line-python    
biblio-ref  1.4.1
biblio-tools    4.0.5
chem-ner    3.0.8
data-computer   2.12.6
data-termsuite  3.0.4
data-workflow   1.2.9
data-wrapper    1.3.5
diseases-ner    1.0.14
domains-classifier  1.5.2
funder-ner  1.0.4
hal-classifier  4.0.6
irc3-species    1.1.5
ner-tagger  1.0.8
nlp-tools2  2.0.5
pdf-text    1.1.2
sciencemetrix-classification    2.0.2
terms-extraction    1.6.2

Note: in the example, affiliation-rnsr's version according to package.json is 2.1.3. Note2: base-line-python does not exist in production, so no version number is given.