From 772cd870d462e2507d8c309702d038364c3ee08d 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 f6d62e1ff..27b1cb8d6 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 7488f12ae..fca5088da 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ install_requires, dependency_links = 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"},