Skip to content

Commit

Permalink
Fix release versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
pecataToshev committed Jan 4, 2024
1 parent 93963c0 commit 9e6391f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#!/bin/bash

branch_name=$(git rev-parse --abbrev-ref HEAD)
release='dev'
if [ "$current_branch" == "main" ] || [ "$current_branch" == "master" ]; then
echo Remove the branch name if main/master
release=''
if [ "$1" == 'release' ]; then
release=''
fi

export TZ=UTC
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="ikabot",
version='2024.0104.dev222607',
version='2024.0104.dev223519',
author="Petar Toshev",
author_email="[email protected]",
license='MIT',
Expand Down

0 comments on commit 9e6391f

Please sign in to comment.