Fetching tags explicitly #24

Merged
hitanshu merged 1 commits from hitanshu/CFTunnels:tags into test 2025-06-04 20:55:38 +00:00
Showing only changes of commit b66ba60028 - Show all commits

View File

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