Skip to content

Commit

Permalink
fix the sed command to replace the version w the tag
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian committed Sep 11, 2023
1 parent 6c5fbe6 commit 772cd87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Update version in setup.py
run: >-

This comment has been minimized.

Copy link
@agi-dude

agi-dude Sep 29, 2023

no

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: >-
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 772cd87

Please sign in to comment.