mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 03:59:56 +00:00
e7c2800798
[no changelog]
8 lines
185 B
Bash
Executable File
8 lines
185 B
Bash
Executable File
#!/bin/sh
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: version.sh path/to/version.h"
|
|
exit 1
|
|
fi
|
|
|
|
echo "VERSION_MAJOR.VERSION_MINOR.VERSION_PATCH" | cpp -include $1 -nostdinc -P - | tr -d " "
|