Skip to content

Commit e0b8b0a

Browse files
committed
tag-git: accommodate for upstream's .txt -> .adoc rename
This is the gazillionth follow-up to that rename; It was noticed in git-for-windows/build-extra#607 that this needed yet another adjustement, this time in Git for Windows' release notes. In that PR, the `please.sh` script was adjusted, which indeed used to be how the release notes generation was automated. In the meantime, we have moved from an Azure Pipelines-based automation to a GitHub Actions-based automation, and the `please.sh` script is no longer used to generate those; Instead the `update-scripts/tag-git.sh` script in this here repository is used for that purpose. Therefore, the latter script needs to be adjusted, too. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 9b17b73 commit e0b8b0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update-scripts/tag-git.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ else
5555
if ! grep -q "^\\* Comes with \\[Git $base_tag\\]" "$build_extra_dir"/ReleaseNotes.md
5656
then
5757
url=https://github.com/git/git/blob/$base_tag &&
58-
txt="$(echo "${base_tag#v}" | sed 's/-rc[0-9]*$//').txt" &&
59-
url=$url/Documentation/RelNotes/$txt &&
58+
adoc="$(echo "${base_tag#v}" | sed 's/-rc[0-9]*$//').adoc" &&
59+
url=$url/Documentation/RelNotes/$adoc &&
6060
release_note="Comes with [Git $base_tag]($url)." &&
6161
(cd "$build_extra_dir" && node ./add-release-note.js --commit feature "$release_note")
6262
fi

0 commit comments

Comments
 (0)