From 029433c9d917be08efc0bead4ec0efc1b1331278 Mon Sep 17 00:00:00 2001 From: Adams Pierre David <57180807+adamspd@users.noreply.github.com> Date: Sun, 4 Feb 2024 22:22:17 +0100 Subject: [PATCH] Fixing tag --- .github/workflows/publish.yml | 6 +++--- spam_detector_ai/__init__.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ed2e3dd..d64af18 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -107,7 +107,7 @@ jobs: uses: release-drafter/release-drafter@v6 with: commitish: main - tag: v${{ needs.prepare-and-check.outputs.version }} + tag: v${{ env.RELEASE_VERSION }} name: Release ${{ env.RELEASE_VERSION }} version: ${{ env.RELEASE_VERSION }} env: @@ -120,8 +120,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} RELEASE_VERSION: ${{ needs.prepare-and-check.outputs.version }} with: - tag_name: v${{ needs.prepare-and-check.outputs.version }} - release_name: Release v${{ needs.prepare-and-check.outputs.version }} + tag_name: v${{ env.RELEASE_VERSION }} + release_name: Release ${{ env.RELEASE_VERSION }} body: ${{ steps.draft_release.outputs.body }} draft: false prerelease: false \ No newline at end of file diff --git a/spam_detector_ai/__init__.py b/spam_detector_ai/__init__.py index 2130830..859a252 100644 --- a/spam_detector_ai/__init__.py +++ b/spam_detector_ai/__init__.py @@ -4,5 +4,5 @@ __description__ = "A package for detecting and filtering spam messages using Machine Learning models." __package_name__ = "spam-detector-ai" __url__ = "https://github.com/adamspd/spam-detection-project" -__version__ = "2.1.11" +__version__ = "2.1.12" __test_version__ = False