mirror of
https://github.com/OpenSolo/OpenSolo.git
synced 2025-04-29 22:24:32 +02:00
16 lines
277 B
Bash
Executable File
16 lines
277 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PROG=artoo
|
|
|
|
VERSION=$(git describe --tags)
|
|
DEST=bins
|
|
|
|
rm -rf ${DEST}
|
|
mkdir ${DEST}
|
|
|
|
cp ${PROG}.elf ${DEST}/${PROG}_${VERSION}.elf
|
|
cp ${PROG}.bin ${DEST}/${PROG}_${VERSION}.bin
|
|
cp ${PROG}.hex ${DEST}/${PROG}_${VERSION}.hex
|
|
|
|
echo copied ${VERSION} binaries to ${DEST}
|