From: Martin Mares Date: Sun, 24 Apr 2022 19:27:54 +0000 (+0200) Subject: Makefile: Updated release process X-Git-Tag: v1.1~1 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1f8d47f8769b3568c8920d1afef101a3e978888e;hp=e46a24d73cc8758d5589d4700ef2002add03f08b;p=minsk.git Makefile: Updated release process --- diff --git a/Makefile b/Makefile index 6ccd03a..64f8967 100644 --- a/Makefile +++ b/Makefile @@ -8,15 +8,15 @@ CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -W all: minsk web: minsk - rsync -avzP . jw:www/minsk/ --exclude=.git --exclude=.*.swp --delete + rsync -avzP . jw:www/ext/minsk/ --exclude=.git --exclude=.*.swp --delete release: git tag v$(VERSION) git push --tags git archive --format=tar --prefix=minsk-$(VERSION)/ HEAD | gzip >$(ARCHIVE) - scp $(ARCHIVE) atrey:~ftp/pub/local/mj/minsk/ - ssh jw "cd www && bin/release-prog minsk $(VERSION)" - mv $(ARCHIVE) ~/archives/mj/ + scp $(ARCHIVE) jw:~ftp/pub/mj/minsk/ + ssh jw "cd web && bin/release-prog minsk $(VERSION)" + mv $(ARCHIVE) ~/archives/sw/minsk/ clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name core -or -name .depend -or -name .#*`