mirror of
https://github.com/luzifer-docker/teamspeak3.git
synced 2024-11-09 20:40:00 +00:00
13 lines
232 B
Bash
13 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}"
|