Release script
This commit is contained in:
parent
bbd0cf2c62
commit
3022774491
|
@ -1,9 +1,9 @@
|
||||||
#! /bin/sh
|
#! /bin/sh -e
|
||||||
|
|
||||||
now=$(date +%Y%m%d)
|
version=$(git describe --tags --exact-match)
|
||||||
|
|
||||||
make all
|
make all
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
for i in *.hex; do
|
for i in *.hex; do
|
||||||
cp $i bin/scoreboard-$now-${i#scoreboard-}
|
cp $i bin/scoreboard-$version-${i#scoreboard-}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue