Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
7f8d318f8This file is pinned to the selected release. Download the original to open it in your design tool.
#!/usr/bin/env bash
OUTPUT_DIR="output"
V="$(git describe --tags)"
TMP_OUT="/tmp/$V"
rm -rf "$OUTPUT_DIR"
./scripts/build
tar -czf "$TMP_OUT.tgz" "$OUTPUT_DIR/"
zip "$TMP_OUT.zip" -r "$OUTPUT_DIR/"
mv "$TMP_OUT.tgz" "$OUTPUT_DIR/$V.tgz"
mv "$TMP_OUT.zip" "$OUTPUT_DIR/$V.zip"