Skip to content

Commit

Permalink
feat: parser correctly when version has '.is.'
Browse files Browse the repository at this point in the history
Change-Id: I6da4903da88bd00942d7aa076ca9341aa38ce270
  • Loading branch information
leaeasy authored and deepin-gerrit committed Feb 5, 2018
1 parent d1f7bad commit 5f48b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
ifneq (,$(wildcard .git/config))
CONFIG_VERSION=
else
VERSION = $(shell dpkg-parsechangelog -ldebian/changelog -SVersion)
VERSION = $(shell dpkg-parsechangelog -ldebian/changelog -SVersion | sed 's/.*.is.//g')
_PACK_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$1}')
_BUILD_VER = $(shell echo $(VERSION) | awk -F'[+_~-]' '{print $$2}' | sed 's/[^0-9]//g')
ifeq ($(_BUILD_VER),)
Expand Down

0 comments on commit 5f48b1f

Please sign in to comment.