Debian Codegraph @

scripts/set_version.sh

raw symbols SCIP
1 #!/usr/bin/env bash
2 # Fill the version with the current commit number to simplify local debug
3
4 FULL_SCRIPT_PATH="$(pwd)/${0}"
5 PROJECT_DIR="${FULL_SCRIPT_PATH%/scripts/*}"
6 cd "${PROJECT_DIR}"
7
8 echo "version = '$(git describe --long --always)'" > pyocd/_version.py
9
10 # Now you can run the following command inside of $PROJECT_DIR
11 # python3.8 -m pyocd --version