We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2fcf13 commit 20eb1a8Copy full SHA for 20eb1a8
jobs/hook_container.yml
@@ -39,7 +39,7 @@
39
shell: |
40
TAG=$(git name-rev --tags --name-only HEAD | cut -f1 -d^)
41
if [ "$(echo $TAG | tr -d [:space:])" == "undefined" ]; then
42
- git describe --all | cut -f2 -d/
+ git describe --all | grep -o [^/]*$
43
else
44
echo $TAG
45
fi
0 commit comments