Fix CHANGELOG creation script
The script looks for the last successful build's LAST_COMMITS file in the wrong place, never finds it, and as a result always creates CHANGELOG with entries wince yesterday, rather than since the last successful build. Solution: look for LAST_COMMITS file in $BUILD_OUTPUT_ROOT/ . Story: 2010226 Task: 46359 Signed-off-by: Davlet Panech <davlet.panech@windriver.com> Change-Id: I125564b6be43e916d6edd87ec566d47b3a24418f
This commit is contained in:
parent
22cf75db16
commit
1f5a04f190
|
@ -29,9 +29,12 @@ find_changelog_files | xargs -r rm -f
|
|||
check_pipe_status
|
||||
|
||||
(
|
||||
set +x
|
||||
set -e
|
||||
MY_WORKSPACE="$BUILD_HOME"
|
||||
MY_REPO_ROOT_DIR="$BUILD_HOME/$REPO_ROOT_SUBDIR"
|
||||
set +x
|
||||
DEPLOY_DIR="$BUILD_OUTPUT_ROOT"
|
||||
cd "$MY_REPO_ROOT_DIR"
|
||||
if need_build ; then
|
||||
create_standard_changelogs
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue