fix the sed command to replace the version w the tag
Browse files- .github/workflows/pypi.yml +1 -1
- setup.py +1 -1
.github/workflows/pypi.yml
CHANGED
@@ -35,7 +35,7 @@ jobs:
|
|
35 |
|
36 |
- name: Update version in setup.py
|
37 |
run: >-
|
38 |
-
sed -E 's/version
|
39 |
|
40 |
- name: Build a binary wheel
|
41 |
run: >-
|
|
|
35 |
|
36 |
- name: Update version in setup.py
|
37 |
run: >-
|
38 |
+
sed -i -E 's/version="([0-9.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py
|
39 |
|
40 |
- name: Build a binary wheel
|
41 |
run: >-
|
setup.py
CHANGED
@@ -24,7 +24,7 @@ install_requires, dependency_links = parse_requirements()
|
|
24 |
|
25 |
setup(
|
26 |
name="axolotl",
|
27 |
-
version="0.
|
28 |
description="LLM Trainer",
|
29 |
long_description="Axolotl is a tool designed to streamline the fine-tuning of various AI models, offering support for multiple configurations and architectures.",
|
30 |
package_dir={"": "src"},
|
|
|
24 |
|
25 |
setup(
|
26 |
name="axolotl",
|
27 |
+
version="0.3.0",
|
28 |
description="LLM Trainer",
|
29 |
long_description="Axolotl is a tool designed to streamline the fine-tuning of various AI models, offering support for multiple configurations and architectures.",
|
30 |
package_dir={"": "src"},
|