Skip to content

Commit 715e801

Browse files
doc: add version number to package name
1 parent 5cbb0fd commit 715e801

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/dev/create_package.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ rm -rf opt/DiscoPoP/tmp_packages_build_dir
3737
cd ..
3838
mkdir -p packages
3939
# build package
40-
dpkg-deb --build tmp_package_build_dir packages/DiscoPoP.deb
41-
chmod 775 packages/DiscoPoP.deb
40+
VERSION=$(cat discopop_library/global_data/version/VERSION)
41+
PACKAGE_NAME="discopop-${VERSION}.deb"
42+
dpkg-deb --build tmp_package_build_dir packages/${PACKAGE_NAME}
43+
chmod 775 packages/${PACKAGE_NAME}
4244

4345
# cleanup
4446
rm -rf tmp_package_build_dir

0 commit comments

Comments
 (0)