GlobalProtect-openconnect/scripts/snapshot-version.sh
2021-10-24 12:11:54 +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