diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index 4eb7e13..ab0390d 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -20,6 +20,7 @@ jobs:
     - uses: actions/checkout@v4
       with:
         submodules: recursive
+        fetch-depth: 0
 
     - name: Install Dependencies
       run: sudo apt update && sudo apt -y install libsodium-dev cmake libvpx-dev libopus-dev
@@ -75,6 +76,7 @@ jobs:
     - uses: actions/checkout@v4
       with:
         submodules: recursive
+        fetch-depth: 0
 
     - uses: actions/checkout@v4
       with:
@@ -156,6 +158,7 @@ jobs:
     - uses: actions/checkout@v4
       with:
         submodules: recursive
+        fetch-depth: 0
 
     - name: Export GitHub Actions cache environment variables
       uses: actions/github-script@v7
@@ -224,6 +227,7 @@ jobs:
     - uses: actions/checkout@v4
       with:
         submodules: recursive
+        fetch-depth: 0
 
     - name: Export GitHub Actions cache environment variables
       uses: actions/github-script@v7
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 402255c..ba0383a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -208,6 +208,8 @@ target_link_libraries(tomato PUBLIC
 
 set_target_properties(tomato PROPERTIES POSITION_INDEPENDENT_CODE ON)
 
+set_target_properties(tomato PROPERTIES VERSION "${tomato_VERSION_MAJOR}.${tomato_VERSION_MINOR}.${tomato_VERSION_PATCH}-${TOMATO_GIT_DEPTH}+git.${TOMATO_GIT_COMMIT}")
+
 ########################################
 
 add_executable(test_frame_stream2_pop_reframer EXCLUDE_FROM_ALL