@@ -91,22 +91,22 @@ rm -rf "$TEMP3"
9191
9292
9393# Build Debian package
94- TAR=" BenchExec -$VERSION .tar.gz"
94+ TAR=" benchexec -$VERSION .tar.gz"
9595
9696TEMP_DEB=" $( mktemp -d) "
9797cp " $DIST_DIR /$TAR " " $TEMP_DEB "
9898pushd " $TEMP_DEB "
9999tar xf " $TAR "
100- cp -r " $DIR /debian" " $TEMP_DEB /BenchExec -$VERSION "
101- cd " BenchExec -$VERSION "
100+ cp -r " $DIR /debian" " $TEMP_DEB /benchexec -$VERSION "
101+ cd " benchexec -$VERSION "
102102
103103dh_make -p " benchexec_$VERSION " --createorig -f " ../$TAR " -i -c apache || true
104104
105105dpkg-buildpackage --build=source -sa " --sign-key=$DEBKEY "
106106podman run --security-opt unmask=/sys/fs/cgroup --cgroups=split \
107107 --security-opt unmask=/proc/* --security-opt seccomp=unconfined --device /dev/fuse \
108108 --rm -w " $( pwd) " -v " $TEMP_DEB :$TEMP_DEB :rw" --rm ubuntu:20.04 \
109- " $TEMP_DEB /BenchExec -$VERSION /test/setup_cgroupsv2_in_container.sh" bash -c '
109+ " $TEMP_DEB /benchexec -$VERSION /test/setup_cgroupsv2_in_container.sh" bash -c '
110110 apt-get update
111111 apt-get install -y --no-install-recommends dpkg-dev
112112 TZ=UTC DEBIAN_FRONTEND=noninteractive apt-get install -y $(dpkg-checkbuilddeps 2>&1 | grep -o "Unmet build dependencies:.*" | cut -d: -f2- | sed "s/([^)]*)//g")
116116cp " $TEMP_DEB /benchexec_$VERSION " {.orig.tar.gz,-1_all.deb,-1.dsc,-1.debian.tar.xz,-1_source.buildinfo,-1_source.changes} " $DIST_DIR "
117117rm -rf " $TEMP_DEB "
118118
119- for f in " $DIST_DIR /BenchExec -$VERSION " * .{whl,tar.gz} " $DIST_DIR /benchexec_$VERSION " * .deb; do
119+ for f in " $DIST_DIR /benchexec -$VERSION " * .{whl,tar.gz} " $DIST_DIR /benchexec_$VERSION " * .deb; do
120120 gpg --detach-sign -a -u " $DEBKEY " " $f "
121121done
122122git tag -s " $VERSION " -m " Release $VERSION "
@@ -130,7 +130,7 @@ if ! [[ $REPLY =~ ^[Yy]$ ]]; then
130130fi
131131
132132git push --tags
133- twine upload " $DIST_DIR /BenchExec " *
133+ twine upload " $DIST_DIR /benchexec- $VERSION " * .{whl,whl.asc,tar.gz,tar.gz.asc}
134134dput ppa:sosy-lab/benchmarking " $DIST_DIR /benchexec_$VERSION -1_source.changes"
135135
136136REPLY=
@@ -143,6 +143,6 @@ git commit benchexec/__init__.py -m"Prepare version number for next development
143143
144144echo
145145echo " Please create a release on GitHub and add content from CHANGELOG.md and the following files:"
146- ls -1 " $DIST_DIR /BenchExec -$VERSION " * .{whl,whl.asc,tar.gz,tar.gz.asc} " $DIST_DIR /benchexec_$VERSION " * .{deb,deb.asc}
146+ ls -1 " $DIST_DIR /benchexec -$VERSION " * .{whl,whl.asc,tar.gz,tar.gz.asc} " $DIST_DIR /benchexec_$VERSION " * .{deb,deb.asc}
147147echo " => https://github.com/sosy-lab/benchexec/releases/new?tag=$VERSION &title=Release%20$VERSION "
148148echo " Please also copy the binary PPA packages to all newer supported Ubuntu versions after they have been built by going to https://launchpad.net/%7Esosy-lab/+archive/ubuntu/benchmarking/+copy-packages"
0 commit comments