Skip to content

Commit c03e1d4

Browse files
author
Aslak Hellesøy
committed
Fix a tiny bug in the update-changelog script - no -E on docker
1 parent 92ee5cf commit c03e1d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ in `cucumber.api` stable from now on, with proper deprecation warnings in case s
15291529

15301530
<!-- Releases -->
15311531
[Unreleased]: https://github.com/cucumber/cucumber-jvm/compare/v6.6.1...main
1532-
[6.6.1]: https://github.com/cucumber/cucumber-jvm/compare/v6.5.1...v6.6.1
1532+
[6.6.1]: https://github.com/cucumber/cucumber-jvm/compare/v6.6.0...v6.6.1
15331533
[6.6.0]: https://github.com/cucumber/cucumber-jvm/compare/v6.5.1...v6.6.0
15341534
[6.5.1]: https://github.com/cucumber/cucumber-jvm/compare/v6.5.0...v6.5.1
15351535
[6.5.0]: https://github.com/cucumber/cucumber-jvm/compare/v6.4.0...v6.5.0

scripts/update-changelog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ insertion_line_number=$((line_number + 1))
6060
release_link=$(echo "${changelog}" | head -n ${insertion_line_number} | tail -1)
6161
new_release_link=$(echo "${release_link}" | \
6262
sed "s/${last_version}/${new_version}/g" | \
63-
sed -E "s/v[0-9]\+.[0-9]\+.[0-9]\+/v${last_version}/")
63+
sed "s/v[0-9]\+.[0-9]\+.[0-9]\+/v${last_version}/")
6464

6565
changelog=$(echo "${changelog}" | sed "${insertion_line_number} i \\
6666
${new_release_link}

0 commit comments

Comments
 (0)