Osmocom GSM Tester, jenkins integrated GSM hardware testing https://osmocom.org/projects/osmo-gsm-tester
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
383 B

set -e
ROOTDIR=$(git rev-parse --show-toplevel)
git describe --abbrev=8 --dirty | sed 's/v\([^-]*\)-\([^-]*\)-\(.*\)/\1.dev\2.\3/' > $ROOTDIR/.version
cat $ROOTDIR/.version
echo "# osmo-gsm-tester version.
# Automatically generated by update_version.sh.
# Gets imported by __init__.py.
_version = '$(cat $ROOTDIR/.version)'" \
> $ROOTDIR/src/osmo_gsm_tester/_version.py