From be6918441327d1b8b6eca5d6a9afe5d3b29e9334 Mon Sep 17 00:00:00 2001 From: tdruez Date: Thu, 18 Jan 2024 09:15:57 -0700 Subject: [PATCH 1/2] Bump version for 5.0.1 release Signed-off-by: tdruez --- CHANGELOG.rst | 2 +- dejacode/__init__.py | 2 +- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7833a0d0..0f87bc7f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,7 +1,7 @@ Release notes ============= -### Version 5.0.1-dev +### Version 5.0.1 - Improve the stability of the "Check for new Package versions" feature. https://github.com/nexB/dejacode/issues/17 diff --git a/dejacode/__init__.py b/dejacode/__init__.py index b2064569..e8e76b6c 100644 --- a/dejacode/__init__.py +++ b/dejacode/__init__.py @@ -11,7 +11,7 @@ from dejacode.celery import app as celery_app -VERSION = "5.0.1-dev" +VERSION = "5.0.1" __version__ = VERSION __all__ = ["celery_app"] diff --git a/setup.cfg b/setup.cfg index 73e009bd..ccb7120c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = dejacode -version = 5.0.1-dev +version = 5.0.1 license = AGPL-3.0-only description = Automate open source license compliance and ensure supply chain integrity long_description = file:README.rst From 4bbae4c79c943bbc77b728e7ec4e971a1d1de818 Mon Sep 17 00:00:00 2001 From: tdruez Date: Thu, 18 Jan 2024 09:21:36 -0700 Subject: [PATCH 2/2] Add a "Create a GitHub release" workflow on git tag Signed-off-by: tdruez --- .github/workflows/gh-release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/gh-release.yml diff --git a/.github/workflows/gh-release.yml b/.github/workflows/gh-release.yml new file mode 100644 index 00000000..c23b2386 --- /dev/null +++ b/.github/workflows/gh-release.yml @@ -0,0 +1,17 @@ +name: Create a GitHub release + +on: + workflow_dispatch: + push: + tags: + - "v*.*.*" + +jobs: + create-github-release: + runs-on: ubuntu-22.04 + + steps: + - name: Create a GitHub release + uses: softprops/action-gh-release@v1 + with: + draft: false