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

chore: update versions prediction

parent 2faa614e
No related branches found
No related tags found
No related merge requests found
......@@ -49,10 +49,16 @@ in
exit 1
fi
${pkgs.git}/bin/git fetch --prune --prune-tags
${pkgs.git}/bin/git fetch --prune --prune-tags
echo_step "Bumping version"
gitVersion=v$(version predict)
gitVersion=v$(version predict --exit-code-if-no-bump)
if [ -z "$gitVersion" ]; then
echo_ok "There is no version bump."
echo_ok "done"
exit 0
fi
${pkgs.git}/bin/git tag -a $gitVersion -m"chore: bump version"
${pkgs.git}/bin/git --no-pager log --decorate=short --pretty=oneline -n 5
${pkgs.git}/bin/git push -o ci.skip origin ''${CI_COMMIT_REF_NAME} --tags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment