Skip to content

Commit

Permalink
doc: add version number to package name
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Nov 14, 2024
1 parent 5cbb0fd commit 715e801
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/dev/create_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ rm -rf opt/DiscoPoP/tmp_packages_build_dir
cd ..
mkdir -p packages
# build package
dpkg-deb --build tmp_package_build_dir packages/DiscoPoP.deb
chmod 775 packages/DiscoPoP.deb
VERSION=$(cat discopop_library/global_data/version/VERSION)
PACKAGE_NAME="discopop-${VERSION}.deb"
dpkg-deb --build tmp_package_build_dir packages/${PACKAGE_NAME}
chmod 775 packages/${PACKAGE_NAME}

# cleanup
rm -rf tmp_package_build_dir

0 comments on commit 715e801

Please sign in to comment.