aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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