diff --git a/.github/workflows/ubuntu-22.04-package.yml b/.github/workflows/ubuntu-22.04-package.yml index a8512a268a..7df650516c 100644 --- a/.github/workflows/ubuntu-22.04-package.yml +++ b/.github/workflows/ubuntu-22.04-package.yml @@ -5,7 +5,7 @@ name: Ubuntu-22.04 package -on: [release] +on: [push] jobs: build: diff --git a/cmake/packaging.cmake b/cmake/packaging.cmake index 38df42e3fe..2a0b5619e9 100755 --- a/cmake/packaging.cmake +++ b/cmake/packaging.cmake @@ -153,12 +153,12 @@ else() message("-- This is an Ubuntu 20.04 system") endif() if(LINUX_ISSUE MATCHES "22.04") - set(CPACK_SYSTEM_NAME "jammy") + set(CPACK_SYSTEM_NAME "22.04-jammy") set(CPACK_DEBIAN_PACKAGE_DEPENDS "python3, libgmpxx4ldbl, libboost-system1.74.0, libboost-filesystem1.74.0, libboost-program-options1.74.0, libboost-regex1.74.0, libstdc++6, uuid-runtime, libgtkmm-3.0-1v5, python3-matplotlib, python3-mpmath, python3-sympy, python3-gmpy2") message("-- This is an Ubuntu 22.04 system") endif() if(LINUX_ISSUE MATCHES "24.04") - set(CPACK_SYSTEM_NAME "noble") + set(CPACK_SYSTEM_NAME "24.04-noble") set(CPACK_DEBIAN_PACKAGE_DEPENDS "python3, libgmpxx4ldbl, libboost-system1.83.0, libboost-filesystem1.83.0, libboost-program-options1.83.0, libboost-regex1.83.0, libstdc++6, uuid-runtime, libgtkmm-3.0-1t64, python3-matplotlib, python3-mpmath, python3-sympy, python3-gmpy2") message("-- This is an Ubuntu 24.04 system") endif()