Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sidoh committed Sep 3, 2019
1 parent d7069a3 commit 4dc94aa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .prepare_release
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ prepare_log "Preparing release for tagged version: $VERSION"

mkdir -p dist

if [ -e "./pio/build" ]; then
firmware_prefix="./pio/build/"
if [ -e ".pio/build" ]; then
firmware_prefix=".pio/build"
else
firmware_pefix="./pioenvs/"
firmware_prefix=".pioenvs"
fi

echo $firmware_prefix

for file in $(ls ${firmware_prefix}/**/firmware.bin); do
env_dir=$(dirname "$file")
env=$(basename "$env_dir")
Expand Down

0 comments on commit 4dc94aa

Please sign in to comment.