Fetching tags explicitly

This commit is contained in:
hitanshu310 2025-06-05 02:19:59 +05:30
parent 8f1f6e4f99
commit b66ba60028

View File

@ -26,6 +26,7 @@ jobs:
run: echo "COMMIT_MESSAGE=$(git log -1 --pretty=%B)"
- name: Create and push tag
run: |
git fetch --tags
git tag -a ${NEW_VERSION} -m "${COMMIT_MESSAGE}"
git push origin ${NEW_VERSION}
- name: Log in to Gitea Docker Registry