Skip to content
Snippets Groups Projects
Commit e78d730e authored by Timo Furrer's avatar Timo Furrer
Browse files

Make release script more robust

Changelog: development
parent becf6520
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ echo "Updating default value for version input to match ${version} ..."
"${script_dir}/update-self-version.sh" "${version}"
git commit templates/*.yml -m "Update version input default for ${version} release"
git commit templates/*.yml -m "Update version input default for ${version} release" || echo "Nothing to commit, skipping it ..."
git push -o ci.skip origin main
echo "Determing last stable version ..."
......@@ -55,7 +55,7 @@ echo "Pulling changelog ..."
git pull
echo "Tagging ${version} ..."
git tag "${version}"
git tag "${version}" || echo "Release tag already exists, skipping it ..."
echo "Pushing tag ${version} ..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment