Skip to content

Commit 35bad07

Browse files
committed
echo version
1 parent 372a9af commit 35bad07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ jobs:
2626
python3 -m pip install .
2727
python3 -m build
2828
29-
if [[ "${{ github.event.release.prerelease}}" == "true" ]]; then
29+
if [[ ${{ github.event.release.prerelease == true }} ]]; then
3030
VERSION="${{ github.event.release.tag_name }}.$GITHUB_RUN_NUMBER"
3131
else
3232
VERSION=${{ github.event.release.tag_name }}
3333
fi
3434
35+
echo "VERSION=$VERSION" # Prints VERSION to the logs
36+
3537
SDIST_PACKAGE_NAME="schematicpy-${VERSION}.tar.gz"
3638
BDIST_PACKAGE_NAME="schematicpy-${VERSION}-py3-none-any.whl"
3739
RELEASE_URL_PREFIX="https://uploads.github.com/repos/${{ github.event.repository.full_name }}/releases/${{ github.event.release.id }}/assets?name="

0 commit comments

Comments
 (0)