Skip to content

Commit

Permalink
release: update V0.5.4
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 4d26058 commit 46ea959
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 @@ -9,7 +9,7 @@ OPENCV_DIR=/home/xiaoming/Desktop/opencv
# 定义版本号
YUVVIEWER_MAJARVERSION="0"
YUVVIEWER_SUBVERSION="5"
YUVVIEWER_REVISION="3"
YUVVIEWER_REVISION="4"
###############################################################################


Expand Down Expand Up @@ -47,7 +47,9 @@ mkdir -p ./dpkg/YUVviewer_Linux_"$YUVVIEWER_VERSION"_x86_64/opt/YUVviewer
cp -r ./test ./dpkg/YUVviewer_Linux_"$YUVVIEWER_VERSION"_x86_64/opt/YUVviewer/test
# 配置打包信息
sed -i "s/#VERSION#/$YUVVIEWER_MAJARVERSION.$YUVVIEWER_SUBVERSION$YUVVIEWER_REVISION/g" ./dpkg/YUVviewer_Linux_"$YUVVIEWER_VERSION"_x86_64/DEBIAN/control
SIZE=$(du -sh -B 1024 ./dpkg/YUVviewer_Linux_"$YUVVIEWER_VERSION"_x86_64 | sed "s/.\///g")
cd ./dpkg/YUVviewer_Linux_"$YUVVIEWER_VERSION"_x86_64
SIZE=$(du -sh -B 1024 ./ | sed "s/.\///g")
cd -
InstalledSize=$SIZE
sed -i "s/#SIZE#/$InstalledSize/g" ./dpkg/YUVviewer_Linux_"$YUVVIEWER_VERSION"_x86_64/DEBIAN/control
chmod 755 ./dpkg/YUVviewer_Linux_"$YUVVIEWER_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 @@ -9,7 +9,7 @@ OPENCV_DIR=/home/xiaoming/Desktop/opencv
# 定义版本号
YUVVIEWER_MAJARVERSION="0"
YUVVIEWER_SUBVERSION="5"
YUVVIEWER_REVISION="3"
YUVVIEWER_REVISION="4"
###############################################################################


Expand Down
2 changes: 1 addition & 1 deletion build_setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set "INNO_SETUP_DIR=C:/Program Files (x86)/Inno Setup 6"
:: 定义opencv目录
set "OPENCV_DIR=D:/Qt/opencv4.2.0/x64/mingw/bin"
:: 定义版本号
set "YUVVIEWER_VERSION=0.5.3"
set "YUVVIEWER_VERSION=0.5.4"
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::


Expand Down
2 changes: 1 addition & 1 deletion partform_unix.pri
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# 定义opencv lib路径
OPENCV_DIR=/home/xiaoming/Desktop/opencv
# 定义版本号路径
YUVVIEWER_VERSION=0.5.3
YUVVIEWER_VERSION=0.5.4
###############################################################################
2 changes: 1 addition & 1 deletion partform_win32.pri
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# 定义opencv lib路径
OPENCV_DIR=D:\Qt\opencv4.2.0
# 定义版本号路径
YUVVIEWER_VERSION=0.5.3
YUVVIEWER_VERSION=0.5.4
###############################################################################

0 comments on commit 46ea959

Please sign in to comment.