Revision 04e0712e0d97748be15dcf8d8916a8111811bb52 authored by Artem Prigoda on 06 November 2023, 15:09:01 UTC, committed by Artem Prigoda on 06 November 2023, 15:09:01 UTC
1 parent 3dd97ba
make-branch-config.sh
#!/bin/bash
if [ -z "$BRANCH" ] ; then
echo "BRANCH is unset"
exit 1
fi
folders=("jobs" "templates" "views")
for folder in "${folders[@]}"
do
rm -Rf .ci/$folder;
mkdir -p .ci/$folder
cp -r .ci/${folder}.t/* .ci/$folder/
sed -i "s/%BRANCH%/${BRANCH}/g" .ci/$folder/*.yml
done
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...