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 5ad9141 commit accf769Copy full SHA for accf769
1 file changed
.github/workflows/publish-to-pypi-on-new-tag.yml
@@ -21,7 +21,7 @@ jobs:
21
run: |
22
TAG="${GITHUB_REF_NAME}"
23
echo "The tag is: $TAG"
24
- PROJECT=$(echo "$TAG" | sed -E 's/-[0-9].*$//') # e.g. computer-languages-1.2.3 -> computer-languages
+ PROJECT=$(echo "$TAG" | sed -E 's/-\d+(\.\d+)+$//') # e.g. sys-lang-1.0.4 -> sys-lang
25
echo "PROJECT=$PROJECT" >> $GITHUB_ENV
26
echo "Project directory is: $PROJECT"
27
- run: pip install build
0 commit comments