Update on-release.sh

This commit is contained in:
Me No Dev 2020-11-03 21:53:22 +02:00 committed by GitHub
parent 22b427df0f
commit 60606e5ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,7 +330,7 @@ fi
if [ ! -z "$COMMITS_SINCE_RELEASE" ] && [ "$COMMITS_SINCE_RELEASE" != "null" ]; then if [ ! -z "$COMMITS_SINCE_RELEASE" ] && [ "$COMMITS_SINCE_RELEASE" != "null" ]; then
echo "Getting commits since $COMMITS_SINCE_RELEASE ..." echo "Getting commits since $COMMITS_SINCE_RELEASE ..."
commitFile=$OUTPUT_DIR/commits.txt commitFile=$OUTPUT_DIR/commits.txt
git -C "$GITHUB_WORKSPACE" log --oneline $COMMITS_SINCE_RELEASE.. > "$OUTPUT_DIR/commits.txt" git -C "$GITHUB_WORKSPACE" log --oneline "$COMMITS_SINCE_RELEASE.." > "$OUTPUT_DIR/commits.txt"
releaseNotes+=$'\r\n##### Commits\r\n' releaseNotes+=$'\r\n##### Commits\r\n'
IFS=$'\n' IFS=$'\n'
for next in `cat $commitFile` for next in `cat $commitFile`