File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ elif [ "${TRAVIS_REPO_SLUG}" = "pmd/pmd-eclipse-plugin" ] && [ "${TRAVIS_PULL_RE
2727 log_info " This is a release build for tag ${TRAVIS_TAG} (version: ${VERSION} )"
2828
2929 # create a draft github release
30- gh_releases_createDraftRelease " ${TRAVIS_TAG} " " $( git show-ref --hash ${TRAVIS_TAG} ) "
30+ gh_releases_createDraftRelease " ${TRAVIS_TAG} " " $( git rev-list -n 1 ${TRAVIS_TAG} ) "
3131 GH_RELEASE=" $RESULT "
3232
3333 # Deploy the update site to bintray
Original file line number Diff line number Diff line change 3131 )
3232
3333 log_debug " POST https://api.github.com/repos/pmd/pmd-eclipse-plugin/releases"
34- log_info " Creating gihtub draft release"
34+ log_info " Creating github draft release"
3535 RESULT=$( curl --fail -s -H " Authorization: token ${GITHUB_OAUTH_TOKEN} " \
3636 -H " Content-Type: application/json" \
3737 -X POST \
You can’t perform that action at this time.
0 commit comments