Skip to content

Commit

Permalink
refactor: fix the current version, support after-version trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Oct 20, 2021
1 parent 608b492 commit 5b32580
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion please
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ update()
ok " Done [${NEWVER}]" 0
}

version() { echo vv0.12.0; }
version() { echo v0.12.0; }

# get box.phar path
get-box()
Expand Down Expand Up @@ -299,6 +299,7 @@ if [[ "" = "$NEXT_VERSION" ]]; then
else
NEXT_VERSION=$(echo $VERSION | (IFS=".$IFS"; read a b c && echo $a.$b.$((c + 1))))
fi
trigger after-version
fi
ok " Done [$NEXT_VERSION]"

Expand Down

0 comments on commit 5b32580

Please sign in to comment.