Skip to content

Commit

Permalink
fullname refactor - kamangir/bolt#1234
Browse files Browse the repository at this point in the history
  • Loading branch information
kamangir committed Mar 1, 2024
1 parent e8be76b commit 7970d8c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions abcli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@

NAME = "abcli"

VERSION = "7.2804.1"
VERSION = "7.2805.1"

DESCRIPTION = "🚀 a language to speak AI."


def fullname() -> str:
"""return full name.
Returns:
str: full name.
"""
return f"abcli-{VERSION}-{os.getenv('abcli_git_branch','unknown')}"
abcli_git_branch = os.getenv("abcli_git_branch", "")
return "abcli-{}{}".format(
VERSION,
f"-{abcli_git_branch}" if abcli_git_branch else "",
)

0 comments on commit 7970d8c

Please sign in to comment.