diff options
author | Sameer Veer <sveer@us.ibm.com> | 2018-04-30 08:26:25 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-05-02 15:26:16 -0400 |
commit | 02e6f289e1f8b16e1d7fcc6bb5424662e9a3c951 (patch) | |
tree | a280c5840491c65f8b1e93828d7a8b7a175c30a0 | |
parent | 2c84fc6ab09e3641957290eb8fbfd5b4ced64213 (diff) | |
download | talos-hostboot-02e6f289e1f8b16e1d7fcc6bb5424662e9a3c951.tar.gz talos-hostboot-02e6f289e1f8b16e1d7fcc6bb5424662e9a3c951.zip |
Create release notes showing commits from master branch included in release
Change-Id: I9105f5c864865c5a396bc6aee819b2d3a63670d2
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58021
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
-rwxr-xr-x | src/build/citest/auto-release | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/build/citest/auto-release b/src/build/citest/auto-release index 147d62848..015a72df3 100755 --- a/src/build/citest/auto-release +++ b/src/build/citest/auto-release @@ -324,6 +324,12 @@ function build { ### Push tag to gerrit, create track and checkin files git push ssh://hostboot-us@gerrit-server/hostboot $RELEASE_NAME || exit -1 git checkout gerrit/master || exit -1 + echo -e "The list of commits included in ${RELEASE_NAME}:\n" > $RELEASENOTESTXT + echo -e "---------------------------------------------" >> $RELEASENOTESTXT + git log --date=short --pretty=format:"%h - %an, %ad : %s" ${PREVIOUS_RELEASE}..${RELEASE_NAME}|egrep -v "$RELEASE_NAME|$PREVIOUS_RELEASE" >> $RELEASENOTESTXT + echo -e "#-----------<E-O-F>---------------#\n" >> $RELEASENOTESTXT + cat $RELEASENOTESTXT | mail -s "List of commit(s) in $RELEASE_NAME, details inside" $RELEASE_ADMINS + # hbRelease pre-release --level $RELEASE_NAME --release $FIPS_RELEASE --checkInDir $CMVC_DIR --released $PREVIOUS_RELEASE --track $EXISTING_TRACK || exit -1 # Check if feature was successfully created and if so set $FEATURE if [ -f $CMVC_FEATURE_FILE ]; then |