Skip to content
Snippets Groups Projects
Unverified Commit c30fe695 authored by Tom Herbers's avatar Tom Herbers
Browse files

contrib/update-images.sh: allow defining different branches and URL

parent c31cb50b
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,12 @@
set -e
BASE_URL="https://firmware.darmstadt.freifunk.net/images/"
BASE_URL=${BASE_URL:-"https://firmware.darmstadt.freifunk.net/images/"}
BRANCHES=${BRANCHES:-"stable beta testing"}
for BRANCH in "stable" "beta" "testing";
for BRANCH in $BRANCHES;
do
echo "updating ${BRANCH}"
echo "updating ${BRANCH} from ${BASE_URL}"
mkdir -p images/${BRANCH}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment