X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?p=alexxy%2Fgromacs.git;a=blobdiff_plain;f=admin%2Fgitlab-ci%2Fdocumentation.gitlab-ci.yml;fp=admin%2Fgitlab-ci%2Fdocumentation.gitlab-ci.yml;h=5018fdfc450b8d3c293a693ad951254f8f295d9e;hp=e0df386b4a640b7050e8df7a502f262c30904a8c;hb=31ad1552d0e654c8d59363d5e94fb8a573e4d69b;hpb=7491864bce8155940926dc199388a51ec87c4dd3 diff --git a/admin/gitlab-ci/documentation.gitlab-ci.yml b/admin/gitlab-ci/documentation.gitlab-ci.yml index e0df386b4a..5018fdfc45 100644 --- a/admin/gitlab-ci/documentation.gitlab-ci.yml +++ b/admin/gitlab-ci/documentation.gitlab-ci.yml @@ -109,13 +109,11 @@ - echo $CMAKE_BUILD_TYPE_OPTIONS - echo $CMAKE_GMXAPI_OPTIONS - echo $REL_OPTION - - VERSION=`cat version.json | - python3 -c "import json,sys; print(json.load(sys.stdin)['version'])"` + - VERSION=`sed -n -e '/GMX_VERSION_STRING\b/ s/.*"\(.*\)")/\1/p' VersionInfo-partial.cmake.cmakein` - if [[ $GROMACS_RELEASE != "true" ]] ; then VERSION=$VERSION-dev ; fi - - REGTEST_COMPARE=`cat version.json | - python3 -c "import json,sys; print(json.load(sys.stdin)['regressiontest-md5sum'])"` + - REGTEST_COMPARE=`sed -n -e '/REGRESSIONTEST_MD5SUM/ s/.*"\(.*\)")/\1/p' VersionInfo-partial.cmake.cmakein` - SOURCENAME=gromacs-$VERSION - SOURCETARBALL=$SOURCENAME.tar.gz - REGTESTNAME=regressiontests-$VERSION