fix: Version numbers & assets not uploading
- Refactored version retrieval to fetch all tags using
git fetch --tags --force
. - Modified version extraction to find the latest tag across all branches using
git tag -l | grep "^v[0-9]" | sort -V | tail -n 1
. - Added logging for latest tag found and new version to be created.
- Added fetch-tags: true to
actions/checkout@v4
. - Added a step to list downloaded artifacts in the artifacts directory.