From 652377dbf6876a44aa34e0dcc893188feb259212 Mon Sep 17 00:00:00 2001 From: max furman Date: Mon, 3 Aug 2020 09:23:29 -0700 Subject: [PATCH] Convert '-' to '~' in deb package name --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 870ad000..84b6b052 100644 --- a/Makefile +++ b/Makefile @@ -50,10 +50,12 @@ PUSHTYPE := master endif VERSION := $(shell echo $(VERSION) | sed 's/^v//') +DEB_VERSION := $(shell echo $(VERSION) | sed 's/-/~/g') ifdef V $(info TRAVIS_TAG is $(TRAVIS_TAG)) $(info VERSION is $(VERSION)) +$(info DEB_VERSION is $(DEB_VERSION)) $(info PUSHTYPE is $(PUSHTYPE)) endif @@ -242,7 +244,7 @@ docker-release: docker-release-candidate docker-push-tag-latest ######################################### changelog: - $Q echo "step-certificates ($(VERSION)) unstable; urgency=medium" > debian/changelog + $Q echo "step-certificates ($(DEB_VERSION)) unstable; urgency=medium" > debian/changelog $Q echo >> debian/changelog $Q echo " * See https://github.com/smallstep/certificates/releases" >> debian/changelog $Q echo >> debian/changelog