From 0724006bf2467c89dece180f26c4ac21dc42fcb6 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 24 Feb 2017 15:40:54 +0100 Subject: 9.70-1 Move everything to github --- Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2c9f795b..814982a1 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,7 @@ SUPERUSER=root SUPERGROUP=root VERSION := $(shell awk '/Version:/ { print $$2 }' initscripts.spec) -RELEASE := $(shell awk '/Release:/ { print $$2 }' initscripts.spec | sed 's|%{?dist}||g') -TAG=initscripts-$(VERSION)-$(RELEASE) +TAG=$(VERSION) mandir=/usr/share/man @@ -122,15 +121,3 @@ clean: tag: @git tag -a -f -m "Tag as $(TAG)" $(TAG) @echo "Tagged as $(TAG)" - -archive: clean syntax-check tag changelog - @git archive --format=tar --prefix=initscripts-$(VERSION)/ HEAD > initscripts-$(VERSION).tar - @mkdir -p initscripts-$(VERSION)/ - @cp ChangeLog initscripts-$(VERSION)/ - @tar --append -f initscripts-$(VERSION).tar initscripts-$(VERSION) - @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" -- cgit v1.2.1