Files
edgetx-gx12/jenkins/release-20/update-repo.sh
T

16 lines
225 B
Bash
Executable File

#!/bin/bash
# stops on first error
set -e
# make sure we are in the good directory
cd ~opentx/release-20/
# pull the latest changes
cd opentx
git fetch
git checkout 2.0
git reset --hard origin/2.0
chmod -Rf g+w . || true