We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 372a9af commit 35bad07Copy full SHA for 35bad07
.github/workflows/publish.yml
@@ -26,12 +26,14 @@ jobs:
26
python3 -m pip install .
27
python3 -m build
28
29
- if [[ "${{ github.event.release.prerelease}}" == "true" ]]; then
+ if [[ ${{ github.event.release.prerelease == true }} ]]; then
30
VERSION="${{ github.event.release.tag_name }}.$GITHUB_RUN_NUMBER"
31
else
32
VERSION=${{ github.event.release.tag_name }}
33
fi
34
35
+ echo "VERSION=$VERSION" # Prints VERSION to the logs
36
+
37
SDIST_PACKAGE_NAME="schematicpy-${VERSION}.tar.gz"
38
BDIST_PACKAGE_NAME="schematicpy-${VERSION}-py3-none-any.whl"
39
RELEASE_URL_PREFIX="https://uploads.github.com/repos/${{ github.event.repository.full_name }}/releases/${{ github.event.release.id }}/assets?name="
0 commit comments