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}"