[#409] Return OS release suffix to package version

Signed-off-by: Dmitriy Zabolotskiy <d.zabolotskiy@yadro.com>
remotes/fyrchik/fix-storage-errors
Dmitriy Zabolotskiy 2022-10-27 17:32:33 +03:00 committed by Stanislav Bogatyrev
parent 1e0b1919ed
commit c640374d98
1 changed files with 1 additions and 2 deletions

View File

@ -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