Skip to content

Commit

Permalink
ajustando suffixo
Browse files Browse the repository at this point in the history
  • Loading branch information
dexterorion committed Dec 21, 2023
1 parent c1219a4 commit 187787e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ then
fi
# Build array from version string.

if [ ! -z ${suffix} ]
then
version=${version%"-$suffix"}
fi

a=( ${version//./ } )
major_version=0
# If version string is missing or has the wrong number of members, show usage message.
Expand Down

0 comments on commit 187787e

Please sign in to comment.