Skip to content

Commit

Permalink
Fix bumping new version (hoprnet#5683)
Browse files Browse the repository at this point in the history
  • Loading branch information
ausias-armesto authored Oct 30, 2023
1 parent 36663a3 commit d27f323
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/get-next-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ read -a current_version_splitted <<< "$current_version"
current_version_prefix=${current_version_splitted[0]}
if [ "${#current_version_splitted[*]}" == "2" ]
then
# Get Release Candidate Number
pre_release=${current_version_splitted[1]/rc\.}
# Get Release Candidate Number
pre_release=${current_version_splitted[1]/rc\.}
else
# Reset the release candidate for new release name
pre_release=0
fi

# Set dot as the delimiter to read parts of the version format
Expand Down

0 comments on commit d27f323

Please sign in to comment.