aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-07-27 14:11:58 -0400
committerBill Nottingham <notting@redhat.com>2010-07-27 14:11:58 -0400
commitc55912dfd8156715c551715cc3f6b088cc437f32 (patch)
treeaa58406a2ad9fdd624ae04ec245f0ae6e5665d03 /Makefile
parent1390ed40323e8c5915be17c8432427b3142d9c47 (diff)
downloadinitscripts-c55912dfd8156715c551715cc3f6b088cc437f32.tar
initscripts-c55912dfd8156715c551715cc3f6b088cc437f32.tar.gz
initscripts-c55912dfd8156715c551715cc3f6b088cc437f32.tar.bz2
initscripts-c55912dfd8156715c551715cc3f6b088cc437f32.tar.xz
initscripts-c55912dfd8156715c551715cc3f6b088cc437f32.zip
Upload tarballs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8380d95f..6c706b47 100644
--- a/Makefile
+++ b/Makefile
@@ -143,7 +143,7 @@ clean:
@rm -fv *~ changenew ChangeLog.old *gz
tag:
- @git tag -a -m "Tag as $(TAG)" $(TAG)
+ @git tag -a -f -m "Tag as $(TAG)" $(TAG)
@echo "Tagged as $(TAG)"
archive: clean syntax-check tag changelog
@@ -154,3 +154,7 @@ archive: clean syntax-check tag changelog
@bzip2 -f initscripts-$(VERSION).tar
@rm -rf initscripts-$(VERSION)
@echo "The archive is at initscripts-$(VERSION).tar.bz2"
+ @sha1sum initscripts-$(VERSION).tar.bz2 > initscripts-$(VERSION).sha1sum
+ @scp initscripts-$(VERSION).tar.bz2 initscripts-$(VERSION).sha1sum fedorahosted.org:initscripts 2>/dev/null|| scp initscripts-$(VERSION).tar.bz2 initscripts-$(VERSION).sha1sum fedorahosted.org:/srv/web/releases/i/n/initscripts
+ @echo "Everything done, files uploaded to Fedorahosted.org"
+ \ No newline at end of file