Skip to content

Commit

Permalink
Fix a tiny bug in the update-changelog script - no -E on docker
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Sep 14, 2020
1 parent 92ee5cf commit c03e1d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -1529,7 +1529,7 @@ in `cucumber.api` stable from now on, with proper deprecation warnings in case s

<!-- Releases -->
[Unreleased]: https://github.com/cucumber/cucumber-jvm/compare/v6.6.1...main
[6.6.1]: https://github.com/cucumber/cucumber-jvm/compare/v6.5.1...v6.6.1
[6.6.1]: https://github.com/cucumber/cucumber-jvm/compare/v6.6.0...v6.6.1
[6.6.0]: https://github.com/cucumber/cucumber-jvm/compare/v6.5.1...v6.6.0
[6.5.1]: https://github.com/cucumber/cucumber-jvm/compare/v6.5.0...v6.5.1
[6.5.0]: https://github.com/cucumber/cucumber-jvm/compare/v6.4.0...v6.5.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-changelog.sh
Expand Up @@ -60,7 +60,7 @@ insertion_line_number=$((line_number + 1))
release_link=$(echo "${changelog}" | head -n ${insertion_line_number} | tail -1)
new_release_link=$(echo "${release_link}" | \
sed "s/${last_version}/${new_version}/g" | \
sed -E "s/v[0-9]\+.[0-9]\+.[0-9]\+/v${last_version}/")
sed "s/v[0-9]\+.[0-9]\+.[0-9]\+/v${last_version}/")

changelog=$(echo "${changelog}" | sed "${insertion_line_number} i \\
${new_release_link}
Expand Down

0 comments on commit c03e1d4

Please sign in to comment.