Script to generate release archive

This commit is contained in:
Mathy 2015-01-15 17:28:00 -05:00
parent c7de046916
commit 5572844df6

16
genrelease.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
set -e
echo -e "Make sure all projects are on the correct branch...\n"
# Let at modules generate their result in a tar
cd ../ath9k-htc/ && ./build.sh release && cd -
cd ../backports/ && ./release.sh && cd -
cd ../tools/ && make release && cd -
# Combine and zip all results
cp ../drivers.tar modwifi.tar
tar --concatenate --file=modwifi.tar ../firmware.tar
tar --concatenate --file=modwifi.tar ../tools.tar
gzip modwifi.tar