teamspeak3/patcher/tag.sh
Knut Ahlers 9554ea4178
Add automated commit / tag
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-03-29 14:32:21 +01:00

12 lines
232 B
Bash

#!/bin/bash
set -euo pipefail
ver=$(grep -Eo 'TEAMSPEAK_VERSION=([0-9.]+)' Dockerfile | cut -d '=' -f 2)
[ -n "${ver}" ] || {
echo "No version found"
exit 1
}
git commit -m "Teamspeak Server ${ver}" Dockerfile
git tag "${ver}"