From ada49556c63d1332efe4c34838323f8b3c42e486 Mon Sep 17 00:00:00 2001 From: MelianMiko Date: Mon, 30 Sep 2024 20:24:15 +0700 Subject: [PATCH] [fix] bump_version.py crash --- debian/rules | 3 ++- scripts/bump_version.py | 2 +- scripts/install_dpkg_dependencies.sh | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index a11be5d..dc827b9 100755 --- a/debian/rules +++ b/debian/rules @@ -10,4 +10,5 @@ override_dh_auto_install: python ./scripts/make.py install debian/openfreebuds/usr debian/openfreebuds/usr/lib/python3/dist-packages override_dh_clean: - git clean -Xfd + git clean -Xfd + diff --git a/scripts/bump_version.py b/scripts/bump_version.py index fdaca7a..f62b462 100644 --- a/scripts/bump_version.py +++ b/scripts/bump_version.py @@ -190,7 +190,7 @@ def main(): # Launch everything bump_pyproject(str(PROJECT_ROOT / "pyproject.toml")) bump_nsis(str(PROJECT_ROOT / "scripts/build_win32/openfreebuds.nsi")) - bump_debian(PROJECT_ROOT / "scripts/build_debian/debian/changelog") + bump_debian(PROJECT_ROOT / "debian/changelog") bump_metainfo(str(PROJECT_ROOT / "openfreebuds_qt/assets/pw.mmk.OpenFreebuds.metainfo.xml")) create_version_info(PROJECT_ROOT / "openfreebuds_qt/version_info.py") create_flatpak_staff() diff --git a/scripts/install_dpkg_dependencies.sh b/scripts/install_dpkg_dependencies.sh index 2faf86d..8ac6ccd 100755 --- a/scripts/install_dpkg_dependencies.sh +++ b/scripts/install_dpkg_dependencies.sh @@ -15,4 +15,4 @@ apt install -y $(awk ' gsub(/[^a-z0-9_.+-].*$/, "", dep) if (dep && !seen[dep]++) print dep } - }' scripts/build_debian/debian/control) + }' debian/control)