6 lines
139 B
Bash
Executable file
6 lines
139 B
Bash
Executable file
#!/bin/sh
|
|
if [ -z "$CP_VERSION" ]; then
|
|
git describe --first-parent --dirty --tags --match "[1-9].*" "$@"
|
|
else
|
|
echo $CP_VERSION
|
|
fi
|