From 02c9965e9847d21dceb8e085a37ec2a4a12f6fee Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Wed, 20 Nov 2024 18:51:54 +0200 Subject: [PATCH] chore: Update release script to use new docs locations These were introduced in https://github.com/apollographql/router/pull/6248 --- xtask/src/commands/release.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xtask/src/commands/release.rs b/xtask/src/commands/release.rs index 51066382f9..db80637fc5 100644 --- a/xtask/src/commands/release.rs +++ b/xtask/src/commands/release.rs @@ -281,12 +281,12 @@ impl Prepare { fn update_docs(&self, version: &str) -> Result<()> { println!("updating docs"); replace_in_file!( - "./docs/source/containerization/docker.mdx", + "./docs/source/routing/self-hosted/containerization/docker.mdx", "with your chosen version. e.g.: `v[^`]+`", format!("with your chosen version. e.g.: `v{version}`") ); replace_in_file!( - "./docs/source/containerization/kubernetes.mdx", + "./docs/source/routing/self-hosted/containerization/kubernetes.mdx", "https://github.com/apollographql/router/tree/[^/]+/helm/chart/router", format!("https://github.com/apollographql/router/tree/v{version}/helm/chart/router") ); @@ -309,7 +309,7 @@ impl Prepare { )?; replace_in_file!( - "./docs/source/containerization/kubernetes.mdx", + "./docs/source/routing/self-hosted/containerization/kubernetes.mdx", "^```yaml\n---\n# Source: router/templates/serviceaccount.yaml(.|\n)+?```", format!("```yaml\n{}\n```", helm_chart.trim()) );