release.sh patch (#2983)

This commit is contained in:
Devin Binnie 2024-03-19 09:57:03 -04:00 committed by GitHub
parent 6d02c5a528
commit d3b43b5b64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -137,7 +137,9 @@ case "${1}" in
if [[ "${branch_name}" =~ "release-" ]]; then
print_info "Releasing v${current_version}"
new_pkg_version="${current_version}"
write_package_version "${new_pkg_version}"
if [[ "${pkg_version}" != "${new_pkg_version}" ]]; then
write_package_version "${new_pkg_version}"
fi
tag "${new_pkg_version}" "Released on $(date -u)"
print_info "Locally created an final version. In order to build you'll have to:"
print_info "$ git push --follow-tags ${git_origin} ${branch_name}:${branch_name}"