From a5845d82ca28e9e79b45df891c5f07944d99bb63 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sat, 5 Sep 2026 14:43:41 +0200 Subject: [PATCH] [RelEng] Improve script for preparation of new development cycle Minor adjustments to reduce duplication. --- prepareNextDevCycle.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/prepareNextDevCycle.sh b/prepareNextDevCycle.sh index 1f233b2..69e2055 100755 --- a/prepareNextDevCycle.sh +++ b/prepareNextDevCycle.sh @@ -19,10 +19,9 @@ # The calling pipeline also defines environment variables usable in this script. # Update the link to the migration guide -migrationContentFile='org.eclipse.jdt/intro/migrateExtensionContent.xml' -sed -i "${migrationContentFile}" \ - --expression "s|${PREVIOUS_RELEASE_VERSION//./\\.}|${NEXT_RELEASE_VERSION}|g" -sed -i "${migrationContentFile}" \ +sed --in-place 'org.eclipse.jdt/intro/migrateExtensionContent.xml' \ + --expression "s|${PREVIOUS_RELEASE_VERSION//./\\.}|${NEXT_RELEASE_VERSION}|g" \ --expression "s|${PREVIOUS_RELEASE_VERSION//./_}|${NEXT_RELEASE_VERSION//./_}|g" + git commit --all --message "Migration Guide update - Eclipse ${NEXT_RELEASE_VERSION}"