From e614bf83208272729929c2026065c3fbfda7be28 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Mon, 11 Sep 2023 13:44:19 -0400 Subject: [PATCH] fix the sed command to replace the version w the tag --- .github/workflows/pypi.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index f6d62e1ff7..27b1cb8d69 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -35,7 +35,7 @@ jobs: - name: Update version in setup.py run: >- - sed -E 's/version=\"([\d\.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py + sed -i -E 's/version="([0-9.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py - name: Build a binary wheel run: >- diff --git a/setup.py b/setup.py index 7488f12ae3..fca5088da1 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def parse_requirements(): setup( name="axolotl", - version="0.1", + version="0.3.0", description="LLM Trainer", long_description="Axolotl is a tool designed to streamline the fine-tuning of various AI models, offering support for multiple configurations and architectures.", package_dir={"": "src"},