diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ca5c118..b60eccb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -99,15 +99,6 @@ jobs: with: inputs: ./dist/*.tar.gz ./dist/*.whl - - name: Bump version and push tag - id: create_tag - uses: mathieudutour/github-tag-action@v6.1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - release_branches: main - default_bump: false - custom_tag: ${{ needs.prepare-and-check.outputs.version }} - - name: Set Release Version Env run: echo "RELEASE_VERSION=${{ needs.prepare-and-check.outputs.version }}" >> $GITHUB_ENV @@ -121,9 +112,10 @@ jobs: uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RELEASE_VERSION: ${{ needs.prepare-and-check.outputs.version }} with: - tag_name: ${{ steps.create_tag.outputs.new_tag }} - release_name: Release ${{ steps.create_tag.outputs.new_tag }} + tag_name: v${{ needs.prepare-and-check.outputs.version }} + release_name: Release v${{ needs.prepare-and-check.outputs.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 7bf9296..b819aeb 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.6" +__version__ = "2.1.7" __test_version__ = False