fixed prerelease support in deb packaging

(cherry picked from commit 0371e7c866)
This commit is contained in:
Matt Davis 2018-05-21 18:21:16 -07:00
parent 8fe99ae001
commit 0a6bff20d0

View file

@ -358,20 +358,20 @@ deb-src: debian
@echo "#############################################" @echo "#############################################"
@echo "Ansible DEB artifacts:" @echo "Ansible DEB artifacts:"
@for DIST in $(DEB_DIST) ; do \ @for DIST in $(DEB_DIST) ; do \
echo deb-build/$${DIST}/$(NAME)_$(VERSION)-$(DEB_RELEASE)~$${DIST}_source.changes ; \ echo deb-build/$${DIST}/$(NAME)_$(DEB_VERSION)-$(DEB_RELEASE)~$${DIST}_source.changes ; \
done done
@echo "#############################################" @echo "#############################################"
.PHONY: deb-upload .PHONY: deb-upload
deb-upload: deb deb-upload: deb
@for DIST in $(DEB_DIST) ; do \ @for DIST in $(DEB_DIST) ; do \
$(DPUT_BIN) $(DPUT_OPTS) $(DEB_PPA) deb-build/$${DIST}/$(NAME)_$(VERSION)-$(DEB_RELEASE)~$${DIST}_amd64.changes ; \ $(DPUT_BIN) $(DPUT_OPTS) $(DEB_PPA) deb-build/$${DIST}/$(NAME)_$(DEB_VERSION)-$(DEB_RELEASE)~$${DIST}_amd64.changes ; \
done done
.PHONY: deb-src-upload .PHONY: deb-src-upload
deb-src-upload: deb-src deb-src-upload: deb-src
@for DIST in $(DEB_DIST) ; do \ @for DIST in $(DEB_DIST) ; do \
$(DPUT_BIN) $(DPUT_OPTS) $(DEB_PPA) deb-build/$${DIST}/$(NAME)_$(VERSION)-$(DEB_RELEASE)~$${DIST}_source.changes ; \ $(DPUT_BIN) $(DPUT_OPTS) $(DEB_PPA) deb-build/$${DIST}/$(NAME)_$(DEB_VERSION)-$(DEB_RELEASE)~$${DIST}_source.changes ; \
done done
.PHONY: epub .PHONY: epub