From b52b62daa33315954ed181a86e522c7143165265 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com>
Date: Fri, 2 Aug 2024 14:15:28 +0200
Subject: [PATCH] v3.1.0

---
 .gitlab-ci.yml     | 4 ++--
 docs/changelog.rst | 5 +----
 docs/conf.py       | 2 +-
 setup.cfg          | 4 ++--
 4 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 874f395..b3f4902 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,7 +74,7 @@ test_python311:
     - cp dist/*.whl .
   after_script:
     - pip install twine
-    - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
+    - 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 dist/*
 
 upload_python311_armv7l:
   image: zoo.smok.co/build/build:latest
@@ -82,7 +82,7 @@ upload_python311_armv7l:
   dependencies:
     - build_python311_armv7l
   script:
-    - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
+    - 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 dist/*
   only:
     - tags
   except:
diff --git a/docs/changelog.rst b/docs/changelog.rst
index bb09bf1..9aecde1 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -1,14 +1,11 @@
 Changelog
 =========
 
-v3.1.1
-------
-
-* added support for Python 3.12
 
 v3.1.0
 ------
 
+* added support for Python 3.12
 * Moved entirely to SMOKs' build architecture.
 * support for Python 3.7 and 3.6 dropped
 
diff --git a/docs/conf.py b/docs/conf.py
index 76edc1c..fac8ac4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,7 +22,7 @@ copyright = '2021 Dronehub Group sp. z o. o., 2022-2024 SMOK sp. z o. o.'
 author = 'Piotr Maślanka'
 
 # The full version, including alpha/beta/rc tags
-release = '3.1.1a1'
+release = '3.1.0'
 
 
 # -- General configuration ---------------------------------------------------
diff --git a/setup.cfg b/setup.cfg
index 7760fd5..8381321 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,13 +1,13 @@
 # coding: utf-8
 [metadata]
-version = 3.1.1a1
+version = 3.1.0
 name = minijson
 long_description = file: README.md
 long_description_content_type = text/markdown; charset=UTF-8
 author = Piotr Maślanka
 license_files =
     LICENSE
-author_email = piotr.maslanka@dronehub.ai
+author_email = pmaslanka@smok.co
 description = A library for serializing JSON in a small binary format
 url = https://git.dms-serwis.com.pl/smokserwis/minijson
 project_urls =
-- 
GitLab