diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0c54c947b98f20f408bdfb76b6e8199fa2c5378c..bf81a89d9c753c307a65214902dda73b04749ca1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,10 +49,11 @@ test_python311:
 .build_python:
   stage: build
   script:
-    - pip install --break-system-packages --upgrade Cython setuptools pip
+    - pip install --break-system-packages --upgrade Cython setuptools pip repairwheel doctor-wheel
     - pip install --break-system-packages -r requirements.txt
     - python setup.py bdist_wheel
-    - cp dist/*.whl .
+    - repairwheel dist/*.whl -o .
+    - doctor-wheel *.whl
   artifacts:
     paths:
       - "*.whl"
@@ -97,6 +98,10 @@ upload_to_twine_python311_armv7l:
   dependencies:
     - build_python311_armv7l
   script:
+    - mkdir dist2
+    - mv *.whl dist2/
+    - repairwheel dist2/*.whl -o .
+    - doctor-wheel *.whl
     - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi *.whl
   only:
     - tags
diff --git a/docs/conf.py b/docs/conf.py
index 56b9958d4fea1baa5344df27c391a662bfb06f30..50925f9e906aa25a831b9b847fc06335666edaf7 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,7 +22,7 @@ project = 'tempsdb'
 copyright = '2020-2024, Piotr Maślanka'
 author = 'Piotr Maślanka'
 
-release = '0.6.7a1'
+release = '0.6.6'
 
 # -- General configuration ---------------------------------------------------
 
diff --git a/setup.cfg b/setup.cfg
index be69dc712e90fd7d3def0a1885c7a9ce8df0fc17..f5f999eb99106e7e9f1e7ec780e4298f15040ed9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,7 @@
 # coding: utf-8
 [metadata]
 name = tempsdb
-version = 0.6.7a1
+version = 0.6.6
 long_description = file: README.md
 long_description-content-type = text/markdown; charset=UTF-8
 license_files = LICENSE