[Fedora-spins] [spin-kickstarts] Add a make publish function

Bruno Wolff III bruno at fedoraproject.org
Sat Jun 29 18:53:43 UTC 2013


commit cb29cc9c18ddb5e8e8c36f7532104a1bf445a5d0
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jun 29 13:53:08 2013 -0500

    Add a make publish function

 Makefile |    3 +++
 README   |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index 6cc8d7b..7b25a9c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,5 +13,8 @@ clean:
 dist:
 	git archive --format=tar --prefix=spin-kickstarts-$(version)/ HEAD | gzip > spin-kickstarts.tar-$(version).gz
 
+publish:
+	scp spin-kickstarts-$(version).tar.gz fedorahosted.org:spin-kickstarts
+
 dist-clean:
 	git clean -f -d
diff --git a/README b/README
index 9dac761..4b35b8a 100644
--- a/README
+++ b/README
@@ -18,6 +18,6 @@ git tag VERSION
 git push --tags
 make
 # Publish the released tar ball
-scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts
+make publish
 # Clean up the generated files:
 make clean


More information about the spins mailing list