diff options
Diffstat (limited to 'manualPorts/cssh/lastVersion.sh')
-rwxr-xr-x | manualPorts/cssh/lastVersion.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manualPorts/cssh/lastVersion.sh b/manualPorts/cssh/lastVersion.sh new file mode 100755 index 0000000..3415db7 --- /dev/null +++ b/manualPorts/cssh/lastVersion.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +git -C /usr/src/github/cssh fetch --all -p >/dev/null 2>&1 + +printf '0.r%s.%s\n' \ + "$(git -C /usr/src/github/cssh rev-list --count origin/master)" \ + "$(git -C /usr/src/github/cssh rev-parse --short origin/master)" |