Skip to content

Commit

Permalink
release:V0.1.2
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Oct 9, 2023
1 parent 36045cf commit 4b1596a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions build_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ QT_DIR=/opt/Qt6.2.0/6.2.0/gcc_64
# 定义版本号
QFSVIEWER_MAJARVERSION="0"
QFSVIEWER_SUBVERSION="1"
QFSVIEWER_REVISION="1"
QFSVIEWER_REVISION="2"
###############################################################################


Expand Down Expand Up @@ -45,7 +45,9 @@ mkdir -p ./dpkg/QFSViewer_Linux_"$QFSVIEWER_VERSION"_x86_64/opt/QFSViewer
cp -r ./test ./dpkg/QFSViewer_Linux_"$QFSVIEWER_VERSION"_x86_64/opt/QFSViewer/test
# 配置打包信息
sed -i "s/#VERSION#/$QFSVIEWER_MAJARVERSION.$QFSVIEWER_SUBVERSION$QFSVIEWER_REVISION/g" ./dpkg/QFSViewer_Linux_"$QFSVIEWER_VERSION"_x86_64/DEBIAN/control
SIZE=$(du -sh -B 1024 ./dpkg/QFSViewer_Linux_"$QFSVIEWER_VERSION"_x86_64 | sed "s/.\///g")
cd ./dpkg/QFSViewer_Linux_"$QFSVIEWER_VERSION"_x86_64
SIZE=$(du -sh -B 1024 ./ | sed "s/.\///g")
cd -
InstalledSize=$SIZE
sed -i "s/#SIZE#/$InstalledSize/g" ./dpkg/QFSViewer_Linux_"$QFSVIEWER_VERSION"_x86_64/DEBIAN/control
chmod 755 ./dpkg/QFSViewer_Linux_"$QFSVIEWER_VERSION"_x86_64/* -R
Expand Down
2 changes: 1 addition & 1 deletion build_dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ QT_DIR=/opt/Qt6.2.0/6.2.0/gcc_64
# 定义版本号
QFSVIEWER_MAJARVERSION="0"
QFSVIEWER_SUBVERSION="1"
QFSVIEWER_REVISION="1"
QFSVIEWER_REVISION="2"
###############################################################################


Expand Down
2 changes: 1 addition & 1 deletion build_setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set "QT_TOOLS_DIR=C:/Qt/Qt6.2.0/Tools/mingw810_32/bin"
:: 定义Inno Setup目录
set "INNO_SETUP_DIR=C:/Program Files (x86)/Inno Setup 6"
:: 定义版本号
set "QFSVIEWER_VERSION=0.1.1"
set "QFSVIEWER_VERSION=0.1.2"
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


Expand Down
2 changes: 1 addition & 1 deletion partform_unix.pri
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
###############################################################################
# 定义版本号路径
QFSVIEWER_VERSION=0.1.1
QFSVIEWER_VERSION=0.1.2
###############################################################################
2 changes: 1 addition & 1 deletion partform_win32.pri
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
###############################################################################
# 定义版本号路径
QFSVIEWER_VERSION=0.1.1
QFSVIEWER_VERSION=0.1.2
###############################################################################

0 comments on commit 4b1596a

Please sign in to comment.