diff --git a/release.sh b/release.sh index f2a70e4..43c12c8 100755 --- a/release.sh +++ b/release.sh @@ -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