Add a make publish function

This commit is contained in:
Bruno Wolff III 2013-06-29 13:53:08 -05:00
parent 3d2542b16d
commit cb29cc9c18
2 changed files with 4 additions and 1 deletions

View File

@ -13,5 +13,8 @@ clean:
dist: dist:
git archive --format=tar --prefix=spin-kickstarts-$(version)/ HEAD | gzip > spin-kickstarts.tar-$(version).gz 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: dist-clean:
git clean -f -d git clean -f -d

2
README
View File

@ -18,6 +18,6 @@ git tag VERSION
git push --tags git push --tags
make make
# Publish the released tar ball # Publish the released tar ball
scp spin-kickstarts-*.tar.gz fedorahosted.org:spin-kickstarts make publish
# Clean up the generated files: # Clean up the generated files:
make clean make clean