release.sh patch (#2983)
This commit is contained in:
parent
6d02c5a528
commit
d3b43b5b64
|
@ -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}"
|
||||||
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)"
|
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}"
|
||||||
|
|
Loading…
Reference in a new issue