only remove if it exists

This commit is contained in:
Morgan 'ARR\!' Allen 2020-10-28 18:59:05 -07:00
parent bf208190ea
commit 7c939febca

View file

@ -10,7 +10,7 @@ build:
- build/
script:
- rm sdkconfig
- if [ -f sdkconfig ]; then rm sdkconfig fi
- idf.py reconfigure
- echo "BB-CI-$((1 + RANDOM % 999))" > bbid
- sed -ie s/BARBACK_ID=.*/BARBACK_ID=\"`cat bbid`\"/ sdkconfig