Skip to content

Commit 5bd3468

Browse files
committed
Fixing tag
1 parent 0f32f11 commit 5bd3468

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,6 @@ jobs:
9999
with:
100100
inputs: ./dist/*.tar.gz ./dist/*.whl
101101

102-
- name: Bump version and push tag
103-
id: create_tag
104-
uses: mathieudutour/[email protected]
105-
with:
106-
github_token: ${{ secrets.GITHUB_TOKEN }}
107-
release_branches: main
108-
default_bump: false
109-
custom_tag: ${{ needs.prepare-and-check.outputs.version }}
110-
111102
- name: Set Release Version Env
112103
run: echo "RELEASE_VERSION=${{ needs.prepare-and-check.outputs.version }}" >> $GITHUB_ENV
113104

@@ -121,9 +112,10 @@ jobs:
121112
uses: actions/create-release@v1
122113
env:
123114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115+
RELEASE_VERSION: ${{ needs.prepare-and-check.outputs.version }}
124116
with:
125-
tag_name: ${{ steps.create_tag.outputs.new_tag }}
126-
release_name: Release ${{ steps.create_tag.outputs.new_tag }}
117+
tag_name: v${{ needs.prepare-and-check.outputs.version }}
118+
release_name: Release v${{ needs.prepare-and-check.outputs.version }}
127119
body: ${{ steps.draft_release.outputs.body }}
128120
draft: false
129121
prerelease: false

spam_detector_ai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
__description__ = "A package for detecting and filtering spam messages using Machine Learning models."
55
__package_name__ = "spam-detector-ai"
66
__url__ = "https://github.com/adamspd/spam-detection-project"
7-
__version__ = "2.1.6"
7+
__version__ = "2.1.7"
88
__test_version__ = False

0 commit comments

Comments
 (0)