diff --git a/.gitlab/scripts/release.sh b/.gitlab/scripts/release.sh index 2bdbdaed8398c590ac42d085f37342c439c0cf35..b36c4a4cb291300936aa78269c14b18aba8b4bc2 100755 --- a/.gitlab/scripts/release.sh +++ b/.gitlab/scripts/release.sh @@ -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} ..."