summaryrefslogtreecommitdiff
path: root/bin/build-distribution-archives
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-distribution-archives')
-rwxr-xr-xbin/build-distribution-archives3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/build-distribution-archives b/bin/build-distribution-archives
index a4129e83..c7973022 100755
--- a/bin/build-distribution-archives
+++ b/bin/build-distribution-archives
@@ -118,10 +118,11 @@ if [ "$BUILD" = "linux" ]; then
%_signature gpg
EOF
+ deb_version="$(sed -E 's/[^a-zA-Z0-9.+]/./g' <<< "$VERSION")"
fpm -s dir \
-t deb \
-n inkstitch \
- -v "$VERSION" \
+ -v "$deb_version" \
-d "inkscape >= 1.0.0" \
--license "GPL-3.0" \
--description "An open-source machine embroidery design platform based on Inkscape" \