[ci] Use sha1 of release tag for target_commitish when creating gh release

This commit is contained in:
Andreas Dangel
2019-12-07 14:38:02 +01:00
parent e87ab21b08
commit ca299178df

View File

@ -37,7 +37,7 @@ elif travis_isPush; then
echo -e "\n\n" echo -e "\n\n"
# create a draft github release # create a draft github release
gh_releases_createDraftRelease "${TRAVIS_TAG}" "$(git show-ref --hash HEAD)" gh_releases_createDraftRelease "${TRAVIS_TAG}" "$(git show-ref --hash ${TRAVIS_TAG})"
GH_RELEASE="$RESULT" GH_RELEASE="$RESULT"
# Build and deploy to ossrh / maven-central # Build and deploy to ossrh / maven-central