forked from TrueCloudLab/certificates
Convert '-' to '~' in deb package name
This commit is contained in:
parent
e55ad2ad52
commit
652377dbf6
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -50,10 +50,12 @@ PUSHTYPE := master
|
||||||
endif
|
endif
|
||||||
|
|
||||||
VERSION := $(shell echo $(VERSION) | sed 's/^v//')
|
VERSION := $(shell echo $(VERSION) | sed 's/^v//')
|
||||||
|
DEB_VERSION := $(shell echo $(VERSION) | sed 's/-/~/g')
|
||||||
|
|
||||||
ifdef V
|
ifdef V
|
||||||
$(info TRAVIS_TAG is $(TRAVIS_TAG))
|
$(info TRAVIS_TAG is $(TRAVIS_TAG))
|
||||||
$(info VERSION is $(VERSION))
|
$(info VERSION is $(VERSION))
|
||||||
|
$(info DEB_VERSION is $(DEB_VERSION))
|
||||||
$(info PUSHTYPE is $(PUSHTYPE))
|
$(info PUSHTYPE is $(PUSHTYPE))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -242,7 +244,7 @@ docker-release: docker-release-candidate docker-push-tag-latest
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
changelog:
|
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 >> debian/changelog
|
||||||
$Q echo " * See https://github.com/smallstep/certificates/releases" >> debian/changelog
|
$Q echo " * See https://github.com/smallstep/certificates/releases" >> debian/changelog
|
||||||
$Q echo >> debian/changelog
|
$Q echo >> debian/changelog
|
||||||
|
|
Loading…
Reference in a new issue