Skip to content

Commit

Permalink
Fixing tag
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspd committed Feb 4, 2024
1 parent 0f32f11 commit 5bd3468
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion spam_detector_ai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5bd3468

Please sign in to comment.