From 5572844df6fa3a38859d16a976d590959dd0d6d6 Mon Sep 17 00:00:00 2001 From: Mathy Date: Thu, 15 Jan 2015 17:28:00 -0500 Subject: [PATCH] Script to generate release archive --- genrelease.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 genrelease.sh diff --git a/genrelease.sh b/genrelease.sh new file mode 100755 index 0000000..05be90a --- /dev/null +++ b/genrelease.sh @@ -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 +