|
|
|
@ -43,8 +43,7 @@ spec:
|
|
|
|
|
script: |
|
|
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
ls -l /workspace
|
|
|
|
|
ls -l
|
|
|
|
|
git config --global --add safe.directory $(workspaces.source.path)
|
|
|
|
|
git fetch --tags
|
|
|
|
|
current_tag=$(git tag --points-at HEAD --list 'v*.*.*')
|
|
|
|
|
if [ -z "$current_tag" ]; then
|
|
|
|
|