From e4ff9e6f7cd1a5e1607803e805859c88545f4860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 12 Dec 2016 20:15:05 -0500 Subject: build-sys: add sign and upload targets --- Makefile | 8 +++++++- NEWS | 1 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b10d6d9..b4923e3 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,9 @@ install: dist: $(PYTHON) setup.py sdist +sign: dist/systemd-python-$(VERSION).tar.gz + gpg --detach-sign -a dist/systemd-python-$(VERSION).tar.gz + clean: rm -rf build systemd/*.so systemd/*.py[co] *.py[co] systemd/__pycache__ @@ -57,7 +60,10 @@ www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/p doc-sync: rsync -rlv --delete --omit-dir-times build/html/ $(www_target)/ +upload: dist/systemd-python-$(VERSION).tar.gz dist/systemd-python-$(VERSION).tar.gz.asc + twine-3 upload $+ + TAGS: $(shell git ls-files systemd/*.[ch]) $(ETAGS) $+ -.PHONY: build install dist clean distclean TAGS doc-sync +.PHONY: build install dist sign upload clean distclean TAGS doc-sync diff --git a/NEWS b/NEWS index e5534eb..1816843 100644 --- a/NEWS +++ b/NEWS @@ -11,7 +11,6 @@ CHANGES WITH 233: Contributions from Robert James Hernandez, Zbigniew Jędrzejewski-Szmek - CHANGES WITH 232: * Wrappers for sd_journal_enumerate_unique, has_runtime_files, -- cgit v1.2.1