Skip to content

Commit b17faa2

Browse files
committed
Fixed mkrelease to handle minor numbers greater than 07 ,;-)
- Legacy-Id: 1218
1 parent 485d282 commit b17faa2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/mkrelease

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ SRC=${SRC#/} # remove leading slash
154154

155155
MAJOR=${VER%.*}
156156
MINOR=${VER#*.}
157+
MINOR=${MINOR##0}
157158
VER="$(printf %d.%02d $MAJOR $MINOR)"
158159
NEXT=$(( $MINOR + 1 ))
159160
DEV="$(printf %d.%02d-dev $MAJOR $NEXT)"

0 commit comments

Comments
 (0)