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

View File

@@ -137,7 +137,9 @@ case "${1}" in
if [[ "${branch_name}" =~ "release-" ]]; then if [[ "${branch_name}" =~ "release-" ]]; then
print_info "Releasing v${current_version}" print_info "Releasing v${current_version}"
new_pkg_version="${current_version}" new_pkg_version="${current_version}"
if [[ "${pkg_version}" != "${new_pkg_version}" ]]; then
write_package_version "${new_pkg_version}" write_package_version "${new_pkg_version}"
fi
tag "${new_pkg_version}" "Released on $(date -u)" 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 "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}" print_info "$ git push --follow-tags ${git_origin} ${branch_name}:${branch_name}"