[#90] Ignore debian/ files for clean build

Changes in debian dir produce `-dirty` suffix in version.

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
Alexey Vanin 2023-10-18 15:32:24 +03:00
parent b39b6a76e4
commit 84fd0f2266
3 changed files with 10 additions and 1 deletions

10
.gitignore vendored
View file

@ -18,4 +18,12 @@ coverage.txt
coverage.html
# debhelpers
**/.debhelper
**/*debhelper*
# debian package build files
debian/files
debian/changelog
debian/*.log
debian/*.substvars
debian/frostfs-http-gw/

View file

@ -153,6 +153,7 @@ clean:
# Package for Debian
debpackage:
cp debian/changelog.init debian/changelog
dch --package frostfs-http-gw \
--controlmaint \
--newversion $(PKG_VERSION) \