Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mhristof authored Jan 27, 2020
1 parent 04a325c commit e3be773
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,25 @@ main() {
# increment version number based on given release type
case "$releaseType" in
"major")
((major++)); minor=0; build=0; pre="";;
((++major)); minor=0; build=0; pre="";;
"feature")
((minor++)); build=0; pre="";;
((++minor)); build=0; pre="";;
"bug")
((build++)); pre="";;
((++build)); pre="";;
"alpha")
((preversion++))
((++preversion))
if [[ "$pre" != "-alpha" ]]; then
preversion=1
fi
pre="-alpha$preversion";;
"beta")
((preversion++))
((++preversion))
if [[ "$pre" != "-beta" ]]; then
preversion=1
fi
pre="-beta$preversion";;
"rc")
((preversion++))
((++preversion))
if [[ "$pre" != "-rc" ]]; then
preversion=1
fi
Expand Down

0 comments on commit e3be773

Please sign in to comment.