diff options
-rw-r--r-- | meta/classes/buildhistory.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 06d3510ddc..ba20914f45 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass | |||
@@ -356,7 +356,8 @@ buildhistory_commit() { | |||
356 | repostatus=`git status --porcelain` | 356 | repostatus=`git status --porcelain` |
357 | if [ "$repostatus" != "" ] ; then | 357 | if [ "$repostatus" != "" ] ; then |
358 | git add ${BUILDHISTORY_DIR}/* | 358 | git add ${BUILDHISTORY_DIR}/* |
359 | git commit ${BUILDHISTORY_DIR}/ -m "Build ${BUILDNAME} for machine ${MACHINE} configured for ${DISTRO} ${DISTRO_VERSION}" --author "${BUILDHISTORY_COMMIT_AUTHOR}" > /dev/null | 359 | HOSTNAME=`cat /etc/hostname 2>/dev/null || echo unknown` |
360 | git commit ${BUILDHISTORY_DIR}/ -m "Build ${BUILDNAME} of ${DISTRO} ${DISTRO_VERSION} for machine ${MACHINE} on $HOSTNAME" --author "${BUILDHISTORY_COMMIT_AUTHOR}" > /dev/null | ||
360 | if [ "${BUILDHISTORY_PUSH_REPO}" != "" ] ; then | 361 | if [ "${BUILDHISTORY_PUSH_REPO}" != "" ] ; then |
361 | git push -q ${BUILDHISTORY_PUSH_REPO} | 362 | git push -q ${BUILDHISTORY_PUSH_REPO} |
362 | fi | 363 | fi |