fix the sed command to replace the version w the tag
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
publish pypi / Upload release to PyPI (push) Has been cancelled
PyTest / test (3.10) (push) Has been cancelled
PyTest / test (3.9) (push) Has been cancelled

This commit is contained in:
Wing Lian
2023-09-11 13:44:19 -04:00
parent 6c5fbe6223
commit 772cd870d4
2 changed files with 2 additions and 2 deletions

View File

@@ -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: >-

View File

@@ -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"},