From 5d0d76e4f4cbee58f10469aa5710f8b4f9227bc0 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Tue, 20 Jan 2026 10:26:51 -0500 Subject: [PATCH] update pypi publish to update VERSION file --- .github/workflows/pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 2b95dbe3f..860a6c81c 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -48,9 +48,9 @@ jobs: id: tag run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3) - - name: Update version in src/axolotl/__init__.py + - name: Update version in VERSION file run: | - sed -i -E's/__version__ = "([0-9.]+)"/__version__ = "${{ steps.tag.outputs.TAG_NAME }}"/g' src/axolotl/__init__.py + echo "${{ steps.tag.outputs.TAG_NAME }}" | sed -e's/v//g' > VERSION - name: Build a source dist run: |