Files
openstapps/.gitlab/ci/getRegistryBranch.sh
2023-06-29 16:01:42 +02:00

5 lines
123 B
Bash

#!/usr/bin/env sh
# script returns string with everything after the last colon of $1 input
echo -n $1 | grep -oE '[^:]+$'