Skip to content

Commit

Permalink
release.sh patch
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbinnie committed Mar 15, 2024
1 parent 680d0a9 commit e999e2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit e999e2c

Please sign in to comment.