File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ dependencies {
8888}
8989
9090val relativePath = " CHANGELOG"
91- val filePath = Paths .get(project.layout.buildDirectory.toString() , relativePath)
91+ val filePath = Paths .get(project.layout.buildDirectory.get().asFile.path , relativePath)
9292
9393// Check if the file exists and read its content or use a default string
9494val changeLogContents: String = if (Files .exists(filePath)) {
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ SYSTEMD_MESSAGE=$(echo "<li><b>[$SYSTEMD_DATE]</b> Update of systemd unit metada
66
77echo " <h3>Changes</h3>"
88echo " <ul>"
9- { git log --format=" %H %aE" | grep -v dependabot | head -n 100 | cut -d ' ' -f 1 | xargs -d " \n" -n 1 git log -n 1 " --pretty=format:<li><b>[%ad]</b> %s</li></br>%n" --date=format:%Y-%m-%d 2> /dev/null | grep -v -E " </b> (ci|chore|docs|build|style|refactor|test):" | head -n 20 | sed -E " s%#([0-9]+)%\<a href='https://github.com/SJrX/systemdUnitFilePlugin/issues/\1'>#\1</a>%g" ; echo $SYSTEMD_MESSAGE ; } | sort -r
9+ { git log --format=" %H %aE" | grep -v dependabot | head -n 100 | cut -d ' ' -f 1 | xargs -d " \n" -n 1 git log -n 1 " --pretty=format:<li><b>[%ad]</b> %s</li></br>%n" --date=format:%Y-%m-%d 2> /dev/null | grep -v -E " </b> (ci|chore|docs|build|style|refactor|test):" | head -n 20 | grep -v " Update gradle.properties " | sed -E " s%#([0-9]+)%\<a href='https://github.com/SJrX/systemdUnitFilePlugin/issues/\1'>#\1</a>%g" ; echo $SYSTEMD_MESSAGE ; } | sort -r
1010echo " </ul>"
You can’t perform that action at this time.
0 commit comments