Add pretend version when installing in action

This commit is contained in:
Andrew Cassidy 2024-08-27 00:20:53 -07:00
parent 2a39c69700
commit d61208b583
2 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,8 @@ runs:
- name: Setup Yaclog
shell: bash
run: pipx install --python ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }}
env:
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_YACLOG: '0.0.0'
- name: Create New Release
shell: bash

View File

@ -57,6 +57,7 @@ Changelog = "https://github.com/drewcassidy/yaclog/blob/main/CHANGELOG.md"
Docs = "https://yaclog.readthedocs.io/"
[tool.setuptools_scm]
fallback_version = "0.0.0"
[tool.setuptools.packages.find]
include = ["yaclog"]