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
303 B

set -e
git describe --abbrev=8 --dirty | sed 's/v\([^-]*\)-\([^-]*\)-\(.*\)/\\2.\3/' > version
cat version
echo "# osmo-gsm-tester version.
# Automatically generated by
# Gets imported by
_version = '$(cat version)'" \
> src/osmo_gsm_tester/