We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ac8eb commit 3f70da7Copy full SHA for 3f70da7
ci/publish
@@ -44,7 +44,7 @@ if [ "${TRAVIS_TAG:-}" == "" ]; then
44
# we craft a commit message like jupyterhub/binderhub#123 or
45
# jupyterhub/binderhub@123abcd which will be understood as a reference
46
# by GitHub.
47
- PR_OR_HASH=$(git log -1 --pretty=%B | head -n1 | sed 's/^.*\(#[0-9]*\).*/\1/' | sed 's/^\([0-9a-f]*\)-.*/@\1/')
+ PR_OR_HASH=$(git log -1 --pretty=%h-%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)
49
EXTRA_MESSAGE="${TRAVIS_REPO_SLUG}${PR_OR_HASH} ${LATEST_COMMIT_TITLE}"
50
chartpress --push --publish-chart --long --extra-message "${EXTRA_MESSAGE}"
0 commit comments