build.sh does not properly discover and tag DISTRIB_RELEASE on Debian testing and Debian unstable/sid releases, resulting in the following error message when running
./build.sh deb
mv: cannot move 'cherrytree-1.0.3-Linux.deb' to 'cherrytree-1.0.3~Debiantrixie/sid_amd64.deb': No such file or directory
This is due to /etc/debian_version on Debian's testing & unstable branches not using an explicit version number, but instead using the release codename/sid
This PR is aims to resolve that by checking if /etc/debian_version includes sid, and using the release codename (trixie in my case) for DISTRIB_RELEASE.
build.sh does not properly discover and tag DISTRIB_RELEASE on Debian testing and Debian unstable/sid releases, resulting in the following error message when running
mv: cannot move 'cherrytree-1.0.3-Linux.deb' to 'cherrytree-1.0.3~Debiantrixie/sid_amd64.deb': No such file or directory
This is due to
/etc/debian_version
on Debian's testing & unstable branches not using an explicit version number, but instead using the release codename/sidThis PR is aims to resolve that by checking if /etc/debian_version includes sid, and using the release codename (trixie in my case) for DISTRIB_RELEASE.