From a176a151a43b0a13a3199961b6ff33d51f843d64 Mon Sep 17 00:00:00 2001 From: Marion Deveaud Date: Tue, 28 Jan 2025 22:47:22 +0100 Subject: [PATCH] chore: manually update version number in docs and pyproject.toml --- .github/workflows/semantic-release.yml | 4 ---- README.rst | 10 +++++++++- docs-source/conf.py | 2 +- pyproject.toml | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 5621db1..d725056 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -42,10 +42,6 @@ jobs: git_committer_name: "github-actions" git_committer_email: "actions@users.noreply.github.com" - - name: Debug | Show current directory - run: - ls -la - - name: Publish | Upload package to PyPI uses: pypa/gh-action-pypi-publish@release/v1 if: steps.release.outputs.released == 'true' diff --git a/README.rst b/README.rst index e60746a..3faa7c6 100644 --- a/README.rst +++ b/README.rst @@ -227,7 +227,7 @@ Build rm -r dist/ docs/ Tag ----- +--- Each new release gets a new tag with important information about the changes added to the new release: @@ -238,6 +238,14 @@ Each new release gets a new tag with important information about the changes add Add required information in the corresponding `release in the Github project `_. +Publish +------- + +Publish the newest release to PyPi (visit https://pypi.org/manage/account/#api-tokens to get the token): + +.. code:: shell + + poetry publish --build --username __token__ --password $PYPI_TOKEN Test ---- diff --git a/docs-source/conf.py b/docs-source/conf.py index 02841f9..4d28bb6 100644 --- a/docs-source/conf.py +++ b/docs-source/conf.py @@ -22,7 +22,7 @@ copyright = "2021, Siemens AG" # The full version, including major/minor/patch tags -release = "3.2.1" +release = "3.3.0" # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 8c4e82c..786d9b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fossology" -version = "3.2.1" +version = "3.3.0" description = "A library to automate Fossology from Python scripts" authors = ["Marion Deveaud "] license = "MIT License"