Skip to content

Commit 6892f97

Browse files
authored
Merge pull request #658 from RedisAI/fix_getver_to_use_numeric
Change get_ver to print the numeric version properly.
2 parents ddcb87a + 4117e19 commit 6892f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opt/getver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ else
2222
#include "src/version.h"
2323
2424
int main(int argc, char *argv[]) {
25-
printf("%d%d%d\n", REDISAI_VERSION_MAJOR, REDISAI_VERSION_MINOR, REDISAI_VERSION_PATCH);
25+
printf("%d\n", REDISAI_MODULE_VERSION);
2626
return 0;
2727
}
2828
EOF

0 commit comments

Comments
 (0)