From 072f1317267da8ba55d727e3dbfcc139eca1ac69 Mon Sep 17 00:00:00 2001 From: jrfk Date: Sat, 4 Oct 2025 01:44:33 +0900 Subject: [PATCH] build: clean dist and configure versioning --- .github/workflows/workflow.yml | 2 ++ pyproject.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5d4c1ff..26e3b88 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -15,6 +15,8 @@ jobs: with: fetch-depth: 0 persist-credentials: false + - name: Clean previous builds + run: rm -rf dist - name: Install uv uses: astral-sh/setup-uv@v6 - name: Install Python 3.14 diff --git a/pyproject.toml b/pyproject.toml index b15ef34..56db80a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,7 @@ build-backend = "hatchling.build" source = "vcs" tag-pattern = "v(?P.+)" fallback-version = "0.0.0" +raw-options = { local_scheme = "no-local-version" } [tool.hatch.build.hooks.vcs] version-file = "atv/__about__.py"