Skip to content

Commit c8b8089

Browse files
spark404yadvr
authored andcommitted
Fix for -SNAPSHOT problem in debian rules. Use -snapshot in the changelog to force the packaging to use the -SNAPSHOT extension for maven targets
(cherry picked from commit 2b47611) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> Conflicts: debian/changelog debian/rules
1 parent 1a8e07d commit c8b8089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎debian/rules‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
1414
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//')
15-
MVNADD := $(shell if echo '$(DEBVERS)' | grep -q snapshot; then echo ; fi )
15+
MVNADD := $(shell if echo '$(DEBVERS)' | grep -q snapshot; then echo -SNAPSHOT; fi )
1616
PACKAGE = $(shell dh_listpackages|head -n 1|cut -d '-' -f 1)
1717
SYSCONFDIR = "/etc"
1818
DESTDIR = "debian/tmp"

0 commit comments

Comments
 (0)