* Fix new release creation API to allow empty target * Add more test cases * Update swagger
* Fixes API-Endpoint release (#3005) * Using context.ReferencesGitRepo(); doing the same in the PATCH route. * Add release create, get and update test