Release script

This commit is contained in:
Neale Pickett 2014-02-02 17:05:14 -07:00
parent bbd0cf2c62
commit 3022774491
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
#! /bin/sh
#! /bin/sh -e
now=$(date +%Y%m%d)
version=$(git describe --tags --exact-match)
make all
mkdir -p bin
for i in *.hex; do
cp $i bin/scoreboard-$now-${i#scoreboard-}
cp $i bin/scoreboard-$version-${i#scoreboard-}
done