forked from FreeRADIUS/freeradius-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.mak
26 lines (20 loc) · 864 Bytes
/
release.mak
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
######################################################################
#
# Make a release.
#
######################################################################
# Update before making a release.
VERSION=1.1.7
dist-sign: freeradius-client-$(VERSION).tar.gz.sig
dist: freeradius-client-$(VERSION).tar.gz
.PHONY: freeradius-client-$(VERSION).tar.gz
freeradius-client-$(VERSION).tar.gz:
@git archive --format=tar --prefix=freeradius-client-$(VERSION)/ master | gzip > $@
freeradius-client-$(VERSION).tar.gz.sig: freeradius-client-$(VERSION).tar.gz
gpg --default-key [email protected] -b $<
#
# Note that we do NOT do the tagging here! We just print out what
# to do!
#
dist-tag: freeradius-client-$(VERSION).tar.gz freeradius-client-$(VERSION).tar.bz2
@echo "cd freeradius-client-$(VERSION) && cvs tag release_`echo $(VERSION) | tr .- __` && cd .."