diff options
| author | Lex Neva <github.com@lexneva.name> | 2022-04-04 21:13:22 -0400 |
|---|---|---|
| committer | Kaalleen <reni@allenka.de> | 2022-05-04 19:18:33 +0200 |
| commit | 29786dcd04bce589091ae01a82083fb827ab8125 (patch) | |
| tree | a2b0d2aeebe35dfbaf0ce9bdddb082700209da14 /bin/build-distribution-archives | |
| parent | f75c812aba081f3d8d3a6fde799cc2e9fbc9b757 (diff) | |
don't violate deb version string constraints
Diffstat (limited to 'bin/build-distribution-archives')
| -rwxr-xr-x | bin/build-distribution-archives | 3 |
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" \ |
