Skip to content
Snippets Groups Projects
Verified Commit abee3363 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: ci script

parent 257e1476
No related branches found
No related tags found
No related merge requests found
......@@ -138,19 +138,9 @@ if [ -z "'CI_JOB_TOKEN" ]; then
fi
git --no-pager log --decorate=short --pretty=oneline
## the version should be the same as in the build task
if ! version auto --git --verbose
then
echo "ERROR: Could not update version."
exit 1
fi
git --no-pager log --decorate=short --pretty=oneline
gitVersion=v$(version predict)
git tag -a $gitVersion
git --no-pager log --decorate=short --pretty=oneline
git push -o ci.skip origin ''${CI_COMMIT_REF_NAME} --tags
echo "done"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment