Improve id variable parsing and print release.json to catch error
For some reason Azure would evaluate the GitHub release instantly and complain about missing/invalid GitHub Release deployment and fail to even start the build, this fixes the issue by just manually uploading it via the GitHub API and curl.