Describe the bug
Creating release fails when no issues in the release milestone.
To Reproduce
Run the following when there are no closed issues in the provided release milestone:
./gradlew createGitHubRelease -PnextVersion=1.0.1 -Pbranch=main
Expected behavior
The task should fail with a meaningful error message.