Skip to content

Commit 5b32580

Browse files
committed
refactor: fix the current version, support after-version trigger
1 parent 608b492 commit 5b32580

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

please

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ update()
129129
ok " Done [${NEWVER}]" 0
130130
}
131131

132-
version() { echo vv0.12.0; }
132+
version() { echo v0.12.0; }
133133

134134
# get box.phar path
135135
get-box()
@@ -299,6 +299,7 @@ if [[ "" = "$NEXT_VERSION" ]]; then
299299
else
300300
NEXT_VERSION=$(echo $VERSION | (IFS=".$IFS"; read a b c && echo $a.$b.$((c + 1))))
301301
fi
302+
trigger after-version
302303
fi
303304
ok " Done [$NEXT_VERSION]"
304305

0 commit comments

Comments
 (0)