-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
28 lines (21 loc) · 1003 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SHELL := /bin/bash
VERSION := $(shell cat install.rdf|grep '<em:version>'|cut -d\> -f2|cut -d\< -f1)
make-xpi:
zip -r ../torbirdy-$(VERSION).xpi * -x "debian/*" -x "patches/*" -x "ChangeLog" -x "Makefile" -x "gpg.conf" -x "import-translations.sh"
clean:
rm -f ../torbirdy-$(VERSION).xpi
git-tag:
git tag -u 0xD81D840E -s $(VERSION)
git-push:
git push --tags
git push
sign-release:
gpg -u 0xD81D840E -abs ../torbirdy-${VERSION}.xpi$
sha1sum ../torbirdy-${VERSION}.xpi$
push-release:
chmod 664 ../torbirdy-${VERSION}.xpi*$
scp ../torbirdy-${VERSION}.xpi* vescum.torproject.org:/srv/www-master.torproject.org/htdocs/dist/torbirdy/$
scp ../torbirdy-${VERSION}.xpi vescum.torproject.org:/srv/www-master.torproject.org/htdocs/dist/torbirdy/torbirdy-current.xpi$
scp ../torbirdy-${VERSION}.xpi.asc vescum.torproject.org:/srv/www-master.torproject.org/htdocs/dist/torbirdy/torbirdy-current.xpi.asc$
ssh vescum.torproject.org ~mirroradm/bin/trigger-mirrors
release: sign-release push-release