This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/increment.sh

8 lines
202 B
Bash
Raw Normal View History

2016-08-25 11:38:30 -07:00
#!/bin/bash
BUILD_NUMBER_STR=$(cat .buildnum)
BUILD_NUMBER=$((BUILD_NUMBER_STR + 1))
echo $BUILD_NUMBER > .buildnum
2016-10-24 16:13:41 -07:00
echo "#define ZTSDK_BUILD_VERSION " $BUILD_NUMBER > src/build.h
2016-08-25 11:38:30 -07:00
echo $BUILD_NUMBER