diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35f24f3..49e0fd2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,7 @@ jobs: registry: tip-tip-wlan-cloud-ucentral.jfrog.io registry_user: ucentral registry_password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} + checkout_fetch_depth: 0 - name: Notify on failure via Slack if: failure() && github.ref == 'refs/heads/main' diff --git a/scripts/get_build_version.sh b/scripts/get_build_version.sh index 02bb4fa..b96b07a 100755 --- a/scripts/get_build_version.sh +++ b/scripts/get_build_version.sh @@ -4,5 +4,5 @@ if [ -d .git ] && [ -x "$(command -v git)" ]; then BUILD_NUM="$(git rev-list --count --first-parent HEAD)" HASH="$(git rev-parse --short HEAD)" - echo "-$HASH($BUILD_NUM)" + echo " - $HASH($BUILD_NUM)" fi