We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acf9695 commit b545855Copy full SHA for b545855
1 file changed
debian/build.sh
@@ -4,7 +4,7 @@ set -x
4
5
cd "$(dirname "$0")"
6
7
-VERSION=$(sed -n 's/^version = "\(.*\)"$/\1/p' ../librustls/Cargo.toml)
+VERSION=$(cargo pkgid -p rustls-ffi | sed 's/.*@//')
8
if [ -z "$VERSION" ]; then
9
echo "Failed to extract version from Cargo.toml" >&2
10
exit 1
0 commit comments