diff --git a/bun/package.sh b/bun/package.sh index 32ef8ea..d112a1d 100755 --- a/bun/package.sh +++ b/bun/package.sh @@ -2,7 +2,7 @@ app_name="bun" tmp_dir="/tmp/${app_name}_tmp" -version="1.0.0" +version="1.0.1" release="v${version}" pkg_arch="x64" deb_arch="amd64" @@ -76,6 +76,7 @@ echo '计算文件md5完成, 打包中...' cd .. sudo chown -R root:root unpack -dpkg-deb -b ./unpack "./${app_name}_${version}.deb" +dpkg-deb -b ./unpack "./${app_name}-${deb_arch}_${version}.deb" +sudo rm -rf ./unpack echo "打包完成 :)"