ci: Fix the GitHub release to use commitizen to fetch the new tag

This commit is contained in:
2024-11-25 18:51:48 -07:00
parent 41bb08418f
commit 1893abd773
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
- name: Get the new version tag - name: Get the new version tag
id: version id: version
run: | run: |
NEW_TAG=$(git describe --tags --abbrev=0) NEW_TAG=$(cz version --project)
echo "New version: $NEW_TAG" echo "New version: $NEW_TAG"
echo "version=$NEW_TAG" >> $GITHUB_ENV echo "version=$NEW_TAG" >> $GITHUB_ENV