We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883932a commit 857a626Copy full SHA for 857a626
.github/workflows/pypi.yaml
@@ -21,7 +21,8 @@ jobs:
21
- name: Build the package
22
run: |
23
# Extract version number from github.ref and write to version.txt
24
- echo "${{ github.ref }}" | sed 's/refs\/tags\///' > func_adl/version.txt
+ version=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
25
+ echo "__version__=\"$v\"" > func_adl/version.txt
26
hatch build
27
- name: Publish a func_adl to PyPI
28
uses: pypa/[email protected]
0 commit comments