Update on-release.sh
This commit is contained in:
parent
22b427df0f
commit
60606e5ad0
2
.github/scripts/on-release.sh
vendored
2
.github/scripts/on-release.sh
vendored
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user