Commit 9ed1173c authored by Nico's avatar Nico
Browse files

add script to deploy experimental release

parent 142044c7
#!/bin/bash
set -eu -o pipefail
ARCHIVE_DIR="/home/www/html/firmware/gluon/archive"
EXPERIMENTAL_LINK="/home/www/html/firmware/gluon/experimental"
MYDIR=$(readlink -f $(dirname "$0"))
cd "$ARCHIVE_DIR"
downloaded_version=$("$MYDIR/download-latest-firmware-build.py")
downloaded_version_abs=$(readlink -f "$downloaded_version")
rm "$EXPERIMENTAL_LINK"
ln -s "$downloaded_version_abs" "$EXPERIMENTAL_LINK"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment