klayout/version.sh

19 lines
441 B
Bash
Raw Normal View History

# This script is sourced to define the main version parameters
# The main version
2022-02-13 19:27:40 +01:00
KLAYOUT_VERSION="0.27.8"
# The version used for PyPI (don't use variables here!)
2022-02-13 19:27:40 +01:00
KLAYOUT_PYPI_VERSION="0.27.8"
# The build date
KLAYOUT_VERSION_DATE=$(date "+%Y-%m-%d")
# The short SHA hash of the commit
KLAYOUT_VERSION_REV=$(git rev-parse --short HEAD 2>/dev/null)
if [ "$KLAYOUT_VERSION_REV" = "" ]; then
KLAYOUT_VERSION_REV="LatestSourcePackage"
fi