☰
Debian Codegraph
@
0.15.16+ds-4
/
/
.version.sh
☽
☼
.version.sh
code
plain
raw
symbols
SCIP
Apache-2.0
2021 Smallstep Labs, Inc.
debian/copyright
1
#!
/usr/bin/env
bash
2
read -r firstline < .VERSION
3
last_half
="${
firstline
##*tag: }"
4
if [[ ${last_half::1} == "v" ]]; then
5
version_string
="${
last_half
%%[,)]*}"
6
fi
7
echo
"${
version_string
:-v0.0.0}"