From d61208b583ef560739ddcfeffbd0569cc56c5646 Mon Sep 17 00:00:00 2001 From: Andrew Cassidy Date: Tue, 27 Aug 2024 00:20:53 -0700 Subject: [PATCH] Add pretend version when installing in action --- action.yaml | 2 ++ pyproject.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/action.yaml b/action.yaml index 2b38022..a411049 100644 --- a/action.yaml +++ b/action.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 6e4e265..ae35653 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] \ No newline at end of file