Skip to content

Commit 42ee26b

Browse files
committed
Merge branch 'master' of https://github.com/aeron7/nsepython
2 parents dbe8a84 + 23c090f commit 42ee26b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ jobs:
1818
with:
1919
python-version: "3.x"
2020

21+
- name: Extract version from GitHub release tag
22+
run: echo "PACKAGE_VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
23+
2124
- name: Build release distributions
2225
run: |
2326
python -m pip install --upgrade build
2427
python -m build
28+
env:
29+
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
2530

2631
- name: Upload distributions
2732
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)