Skip to content

Commit

Permalink
testing testpypi automated publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Birmiwal, Rahul R committed Nov 16, 2023
1 parent 62ff607 commit 3e86a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Extract Version from tag
id: extract_version
run: echo ::set-output name=VERSION::${{ git describe --tags --abbrev=0 | sed 's/^v//'}}
run: echo ::set-output name=VERSION::${{ github.event.release.tag_name }}

- name: Update version in pyproject.toml
run: sed -i "s/version = .*/version = \"${{ steps.extract_version.outputs.VERSION }}\"/" pyproject.toml
Expand Down

0 comments on commit 3e86a22

Please sign in to comment.