forked from phoedos/pmd
[ci] Use sha1 of release tag for target_commitish when creating gh release
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user