libexec/build in alpha_omega-0.0.150 vs libexec/build in alpha_omega-0.0.151
- old
+ new
@@ -14,10 +14,10 @@
tmp_version=$(mktemp -t XXXXXXXXX)
if [[ -n $local_file ]]; then
cp VERSION $tmp_version
else
- git tag | perl -ne 'm{^v(\d+)\.(\d+)\.(\d+)$} && printf("v%03d.%03d.%03d v%d.%d.%d\n",$1,$2,$3,$1,$2,$3)' | sort -r | head -1 | awk '{print $2}' > $tmp_version
+ git tag | perl -ne 'm{^v(\d+)\.(\d+)\.(\d+)$} && printf("%03d.%03d.%03d %d.%d.%d\n",$1,$2,$3,$1,$2,$3)' | sort -r | head -1 | awk '{print $2}' > $tmp_version
fi
case "$1" in
patch|minor|major)
bump=$1; shift