Skip to content

Commit

Permalink
version retrieve change
Browse files Browse the repository at this point in the history
  • Loading branch information
lexastr committed May 7, 2024
1 parent 5e61532 commit f3f3431
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ jobs:
python -m poetry install -E dev
- name: Assert Version Correctness
run: |
TOML_VER=$(poetry version | awk -F' ' '{ print $2 }')
echo toml "$TOML_VER"
GIT_VER=${{ github.event.release.tag_name }}
GIT_VER=$(poetry version | awk -F' ' '{ print $2 }')
echo git "$GIT_VER"
echo "__version__ = \"$GIT_VER\"" > yellowbox/_version.py
- name: Publish
Expand Down

0 comments on commit f3f3431

Please sign in to comment.