Skip to content

Commit dd41e0f

Browse files
committed
feat: implement dynamic version tracking and reporting system
- Add snapshotter/version.py module for centralized version management - Update project version from 0.1.0 to 2.11.0 - Display version during Docker container initialization - Use dynamic version in snapshot submissions instead of static config - Add toml dependency for pyproject.toml parsing - Ensure single source of truth for version information This improves observability, debugging capabilities, and ensures accurate version reporting across the Snapshotter network.
1 parent b96a08e commit dd41e0f

File tree

5 files changed

+152
-25
lines changed

5 files changed

+152
-25
lines changed

init_docker.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ if [ $? -ne 0 ]; then
3939
exit 1
4040
fi
4141

42+
# Print the version of the snapshotter
43+
poetry run python -m snapshotter.version
44+
4245
# Continue with existing steps
4346
poetry run python -m snapshotter.snapshotter_id_ping
4447
ret_status=$?

0 commit comments

Comments
 (0)