Skip to content

Commit e8ac8eb

Browse files
authored
Set variable with commit title
1 parent 9c4276f commit e8ac8eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/publish

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ if [ "${TRAVIS_TAG:-}" == "" ]; then
4545
# jupyterhub/binderhub@123abcd which will be understood as a reference
4646
# by GitHub.
4747
PR_OR_HASH=$(git log -1 --pretty=%B | head -n1 | sed 's/^.*\(#[0-9]*\).*/\1/' | sed 's/^\([0-9a-f]*\)-.*/@\1/')
48+
LATEST_COMMIT_TITLE=$(git log -1 --pretty=%B | head -n1)
4849
EXTRA_MESSAGE="${TRAVIS_REPO_SLUG}${PR_OR_HASH} ${LATEST_COMMIT_TITLE}"
4950
chartpress --push --publish-chart --long --extra-message "${EXTRA_MESSAGE}"
5051
else

0 commit comments

Comments
 (0)