GlobalProtect-openconnect/scripts/snapshot-version.sh
2021-10-24 11:51:17 +08:00

4 lines
128 B
Bash
Executable File

#!/bin/bash -e
git describe --tags --match "v$(cat VERSION)" | sed -r -e 's/v([^-]+)-/+snapshot/' -e 's/-/./' > VERSION_SUFFIX