Skip to content

Commit

Permalink
Add target for Ubuntu release
Browse files Browse the repository at this point in the history
  • Loading branch information
waveform80 committed Jul 19, 2018
1 parent bccc374 commit aa3dd01
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ changelog: $(PY_SOURCES) $(DOC_SOURCES) $(DEB_SOURCES)
# commit the changes and add a new tag
git commit debian/changelog -m "Updated changelog for release $(VER)"

release: $(DIST_DEB) $(DIST_DSC) $(DIST_TAR) $(DIST_WHEEL)
release-pi: $(DIST_DEB) $(DIST_DSC) $(DIST_TAR) $(DIST_WHEEL)
git tag -s release-$(VER) -m "Release $(VER)"
git push --tags
# build a source archive and upload to PyPI
Expand All @@ -194,4 +194,8 @@ release: $(DIST_DEB) $(DIST_DSC) $(DIST_TAR) $(DIST_WHEEL)
dput raspberrypi dist/$(NAME)_$(VER)$(DEB_SUFFIX)_source.changes
dput raspberrypi dist/$(NAME)_$(VER)$(DEB_SUFFIX)_$(DEB_ARCH).changes

.PHONY: all install develop test doc source wheel zip tar deb dist clean tags changelog release $(SUBDIRS)
release-ubuntu: $(DIST_DEB) $(DIST_DSC)
# build the deb source archive and upload to the PPA
dput waveform-ppa dist/$(NAME)_$(VER)$(DEB_SUFFIX)_source.changes

.PHONY: all install develop test doc source wheel zip tar deb dist clean tags changelog release-pi release-ubuntu $(SUBDIRS)

0 comments on commit aa3dd01

Please sign in to comment.