From c640374d98102553f2d1b4de7ae778fb16ee2fbc Mon Sep 17 00:00:00 2001 From: Dmitriy Zabolotskiy Date: Thu, 27 Oct 2022 17:32:33 +0300 Subject: [PATCH] [#409] Return OS release suffix to package version Signed-off-by: Dmitriy Zabolotskiy --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1536534d9..c0a5c7db7 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ BINS = $(addprefix $(BIN)/, $(CMDS)) OS_RELEASE = $(shell lsb_release -cs) PKG_VERSION ?= $(shell echo $(VERSION) | sed "s/^v//" | \ sed -E "s/(.*)-(g[a-fA-F0-9]{6,8})(.*)/\1\3~\2/" | \ - sed "s/-/~/") + sed "s/-/~/")-${OS_RELEASE} .PHONY: help all images dep clean fmts fmt imports test lint docker/lint prepare-release debpackage @@ -155,7 +155,6 @@ debpackage: dch --package neofs-node \ --controlmaint \ --newversion $(PKG_VERSION) \ - --force-bad-version \ --distribution $(OS_RELEASE) \ "Please see CHANGELOG.md for code changes for $(VERSION)" dpkg-buildpackage --no-sign -b