mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-12-23 04:29:44 +00:00
14 lines
223 B
Bash
14 lines
223 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
DATE=$(date +%Y%m%d)
|
|
VERSION="v1.1-$DATE"
|
|
mkdir -p dist
|
|
|
|
for f in $(ls .pio/build/*/firmware.bin); do
|
|
NAME="BlueSCSI-$VERSION-$(echo $f | cut -d\/ -f3).bin"
|
|
cp $f dist/$NAME
|
|
done
|