6 echo "build_release <version>"
15 echo "Version: $VER - $NOW"
17 DATEw
=`head -n 3 wpa_supplicant/ChangeLog | tail -n 1 | sed "s/ .*//"`
18 DATEh
=`head -n 3 hostapd/ChangeLog | tail -n 1 | sed "s/ .*//"`
20 if [ "$DATEw" != "$NOW" -o "$DATEh" != "$NOW" ]; then
21 echo "NOTE! Date mismatch in ChangeLog: wpa_supplicant $DATEw hostapd $DATEh != $NOW"
25 echo "Temporary directory '$TMP' exists. Remove it before running this."
32 git archive
--format=tar --prefix=wpa-
$VER/ HEAD \
33 README COPYING patches src wpa_supplicant hostapd |
34 gzip > $RELDIR/wpa-
$VER.
tar.gz
35 git archive
--format=tar --prefix=hostapd-
$VER/ HEAD \
36 README COPYING patches src hostapd |
37 gzip > $RELDIR/hostapd-
$VER.
tar.gz
38 git archive
--format=tar --prefix=wpa_supplicant-
$VER/ HEAD \
39 README COPYING patches src wpa_supplicant |
40 tar --directory=$TMP -xf -
43 make -C wpa_supplicant-
$VER/wpa_supplicant
/doc
/docbook man
44 rm -f wpa_supplicant-
$VER/wpa_supplicant
/doc
/docbook
/manpage.
{links
,refs
}
45 tar czf
$RELDIR/wpa_supplicant-
$VER.
tar.gz wpa_supplicant-
$VER