100days of DevOps Day 34 Git hooks issue

Hello everyone, I am currently working on my 100 Days of DevOps challenge, but I’m stuck on Day 34 with a Git hooks problem. As you can see in the image, I did create the release tag, but I keep getting the same error message, and I have no idea how to solve it. Could someone please help me understand what I’m missing?

I put my post-update under bare repository folder under /opt/official.git/hooks/post-update

and here is my script

#!/usr/bin/bash

echo "Starting post-update hook"

for refname in "$@" 
do
    echo "Processing ref: $refname"
    if [[ "$refname" == "refs/heads/master" ]]; then
        echo "Creating tag for release"
        TODAY=$(date +%F)
        git tag -a "release-$TODAY" -m "Automated release tag for $TODAY"
    fi
done
echo "Post-update hook completed"

The problem here is probably with the annotated tag (git tag -a), which the grader is not handling correctly. This is a known issue; we’re still trying to get the grader in a better state.

Thanks for your response.

I also tried with

git tag "release-$TODAY"

but the task still doesn’t pass. I’ve been stuck on this Git hook challenge (Day 34) for three days now, and I still can’t figure out what’s wrong.Any solution or workaround that I can apply?

We’re working on this lab right now. Still in progress; when we release the fix to production, hopefully we can get the word out.

Thanks for the update! I’ll keep an eye out for the fix. Looking forward to trying the lab again once it’s released.

Thanks for the update! May I know if there’s an estimated release date for the fix? I’d like to retry the lab once it’s available.