Skip to content

Commit

Permalink
scripts/before_deploy: extract correct build name
Browse files Browse the repository at this point in the history
  • Loading branch information
puuu committed Sep 4, 2019
1 parent 1d466b4 commit f507f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/before_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ VERSION=$(git describe --abbrev=8 --dirty --always --tags)
echo "Preparing release for tagged version: $VERSION"

for file in .pio/build/*/firmware.bin; do
env=$(echo "$file" | cut -f2 -d'/')
env=$(echo "$file" | cut -f3 -d'/')
cp "$file" "dist/mqtt433gateway_${env}-${VERSION}.bin"
done

0 comments on commit f507f7a

Please sign in to comment.