Browse Source

Update MKit to v0.0.15

Alois Mahdal 8 years ago
parent
commit
59ca15424e
2 changed files with 9 additions and 4 deletions
  1. 3
    3
      utils/mkit/include/release.sh
  2. 6
    1
      utils/mkit/make

+ 3
- 3
utils/mkit/include/release.sh View File

@@ -16,9 +16,9 @@ _bump_version() {
16 16
     local oldy=${tmpy#*.}
17 17
     local new=""
18 18
     case $rlevel in
19
-        x) new="$((oldx+1)).0.0"            ;;
20
-        y) new="$oldx.$((oldy+1)).0"        ;;
21
-        z) new="$oldx.$oldy.$((oldz+1))"    ;;
19
+        x) new="$((oldx+MKIT_BUMPSIZE)).0.0"            ;;
20
+        y) new="$oldx.$((oldy+MKIT_BUMPSIZE)).0"        ;;
21
+        z) new="$oldx.$oldy.$((oldz+MKIT_BUMPSIZE))"    ;;
22 22
         *) die "invalid release level: $1"  ;;
23 23
     esac
24 24
     echo "$new"

+ 6
- 1
utils/mkit/make View File

@@ -7,6 +7,11 @@ die() {
7 7
 }
8 8
 
9 9
 
10
+#
11
+# Bump size (for vbump_? and release_?)
12
+#
13
+MKIT_BUMPSIZE=${MKIT_BUMPSIZE:-1}
14
+
10 15
 #
11 16
 # Debug mode (true|false)
12 17
 #
@@ -61,7 +66,7 @@ MKIT_PROJ_PKGNAME=""
61 66
 #
62 67
 # This MKit version
63 68
 #
64
-MKIT_VERSION=0.0.14
69
+MKIT_VERSION=0.0.15
65 70
 
66 71
 
67 72
 . "$MKIT_DIR/include/mkit.sh" || die "failed to init; check if MKIT_DIR is set properly: $MKIT_DIR"