biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use CMake to propagate versions and hashes to gitlab jobs
[alexxy/gromacs.git]
/
admin
/
gitlab-ci
/
documentation.gitlab-ci.yml
diff --git
a/admin/gitlab-ci/documentation.gitlab-ci.yml
b/admin/gitlab-ci/documentation.gitlab-ci.yml
index e0df386b4a640b7050e8df7a502f262c30904a8c..5018fdfc450b8d3c293a693ad951254f8f295d9e 100644
(file)
--- 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
- 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
- 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
- SOURCENAME=gromacs-$VERSION
- SOURCETARBALL=$SOURCENAME.tar.gz
- REGTESTNAME=regressiontests-$VERSION