main file at root

This commit is contained in:
Martin Diehl 2022-04-27 06:05:06 +02:00
parent af8003525a
commit 45fdd03ecd
3 changed files with 5 additions and 6 deletions

View File

@ -233,12 +233,11 @@ update_revision:
- cd $(mktemp -d)
- git clone -q git@git.damask.mpie.de:damask/DAMASK.git .
- git pull
- VERSION=$(git describe ${CI_COMMIT_SHA})
- export VERSION="${VERSION:1}"
- echo ${VERSION} > python/damask/VERSION
- exportVERSION=$(git describe ${CI_COMMIT_SHA})
- echo ${VERSION:1} > VERSION
- >
git diff-index --quiet HEAD ||
git commit python/damask/VERSION -m "[skip ci] updated version information after successful test of $VERSION"
git commit VERSION -m "[skip ci] updated version information after successful test of $VERSION"
- if [ ${CI_COMMIT_SHA} == $(git rev-parse HEAD^) ]; then git push origin HEAD:master HEAD:development; fi
only:
- development

View File

@ -1 +0,0 @@
python/damask/VERSION

1
VERSION Normal file
View File

@ -0,0 +1 @@
3.0.0-alpha6-258-gea7c8ef23

View File

@ -1 +0,0 @@
3.0.0-alpha6-258-gea7c8ef23

1
python/damask/VERSION Symbolic link
View File

@ -0,0 +1 @@
../../VERSION