Fix release builds without dev part in version number (#1396)

This commit is contained in:
Stefan Agner 2021-06-09 01:18:42 +02:00 committed by GitHub
parent 89c4d57b18
commit cb0fa11eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,10 @@ jobs:
fi
if [ "" != "${tag_dev}" ]; then
echo "Note: Release build with custom dev part: ${tag_dev}."
echo "::set-output name=version::${major}.${build}.${tag_dev}"
else
echo "::set-output name=version::${major}.${build}"
fi
echo "::set-output name=version::${major}.${build}.${tag_dev}"
echo "::set-output name=version_dev::${tag_dev}"
build: