| 1 |
#!/usr/bin/envscip-shell filesystem . . `/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 |
echoscip-shell system . . echo. "${version_string:-v0.0.0}" |