浏览代码

Added version information

Just change the version in the file version.txt and the build files will reflect the version number
master
Patrick Jakobsen 5 年前
父节点
当前提交
fe89547f30
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. +3
    -2
      build.sh
  2. +1
    -0
      version.txt

+ 3
- 2
build.sh 查看文件

@ -10,10 +10,11 @@ cd ..
# Bundle everything that isn't:
# .sh : a shell script.
thin_arg=$1
version=$(cat ../version.txt)
if [[ $thin_arg == "thin" ]]; then
7za a -tzip ../ZMemory_thin.pk3 -r -x\!*.sh -x\!acs/.gitignore -xr\!acs_source
7za a -tzip ../ZMemory_v$version\_thin.pk3 -r -x\!*.sh -x\!acs/.gitignore -xr\!acs_source
else
7za a -tzip ../ZMemory.pk3 -r -x\!*.sh -x\!acs/.gitignore
7za a -tzip ../ZMemory$version.pk3 -r -x\!*.sh -x\!acs/.gitignore
fi

+ 1
- 0
version.txt 查看文件

@ -0,0 +1 @@
0.0.0

正在加载...
取消
保存