Skip to content

Commit

Permalink
set setuptools_scm not write cli/commands/__version__ file automatica…
Browse files Browse the repository at this point in the history
…lly.
  • Loading branch information
suizhihao committed Dec 7, 2022
1 parent 4017f82 commit b12ec9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions cli/commands/__version__.py
@@ -1,6 +1,4 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
from setuptools_scm import get_version

__version__ = version = '0.1.dev535+g052f450.d20221206'
__version_tuple__ = version_tuple = (0, 1, 'dev535', 'g052f450.d20221206')
__version__ = get_version()
__version_tuple__ = tuple(__version__.split("."))
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -83,7 +83,7 @@ bump2version = { version = "^1.0.1" }


[tool.setuptools_scm]
write_to = "cli/commands/__version__.py"
# write_to = "cli/commands/__version__.py"

## semantic_release [start]
# [tool.semantic_release]
Expand Down

0 comments on commit b12ec9b

Please sign in to comment.