mirror of https://github.com/KLayout/klayout.git
19 lines
441 B
Bash
19 lines
441 B
Bash
|
|
# This script is sourced to define the main version parameters
|
|
|
|
# The main version
|
|
KLAYOUT_VERSION="0.29.8"
|
|
|
|
# The version used for PyPI (don't use variables here!)
|
|
KLAYOUT_PYPI_VERSION="0.29.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
|