-VERSION=1.1
-YEAR=2018
+VERSION=1.2
+YEAR=2022
BUILD_DATE:=$(shell date '+%Y-%m-%d')
BUILD_COMMIT:=$(shell if git rev-parse >/dev/null 2>/dev/null ; then git describe --always --tags ; else echo '<unknown>' ; fi)
git tag v$(VERSION)
git push --tags
git archive --format=tar --prefix=paperjam-$(VERSION)/ HEAD | gzip >paperjam-$(VERSION).tar.gz
- rsync paperjam-$(VERSION).tar.gz atrey:ftp/linux/
+ rsync paperjam-$(VERSION).tar.gz jw:/home/ftp/pub/mj/linux/
rsync paperjam.1.html jw:web/static/sw/paperjam/
ssh jw 'cd web && bin/release-prog paperjam $(VERSION)'