Skip to content

Commit

Permalink
Use setuptools' SCM support to determine version from Git tag
Browse files Browse the repository at this point in the history
This of course predictates on a git tag release system but this repo
seems to already be doing that.
  • Loading branch information
colindean authored and mrwilson committed Aug 20, 2023
1 parent 113eb59 commit 5019836
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ venv/
dist/
build/
adr_viewer.egg-info/
.pytest_cache/
.pytest_cache/
.eggs/
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
setup(
name='adr-viewer',
url='https://github.com/mrwilson/adr-viewer',
version='1.3.0',
description='A visualisation tool for Architecture Decision Records',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down Expand Up @@ -34,5 +33,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
],
use_scm_version=True,
setup_requires=["setuptools_scm"],
)

0 comments on commit 5019836

Please sign in to comment.