I want to create a curl command that POST a release with a description that is the result from a git command.
Curl command (working):
curl --request POST --data "{"description": "MY git command result should be here"}" "https://gitlab.unc.nc/api/v4/projects/$APP_GITLAB_NUMBER/repository/tags/$CI_COMMIT_TAG/release"
Git command (working):
git log $(git describe --tags --abbrev=0)..HEAD --oneline
So how can I include the result of git command in the description ? As a single line command.