From 58ba090e1f29d9ef15660e52599ff9253e961c7c Mon Sep 17 00:00:00 2001 From: John Cudd Date: Fri, 23 Aug 2024 21:32:40 -0400 Subject: [PATCH] Add bundle script to release and netify redirects Signed-off-by: John Cudd --- docs/static/_redirects | 1 + scripts/prep-install-scripts.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/static/_redirects b/docs/static/_redirects index 03e339998..6b3528ef8 100644 --- a/docs/static/_redirects +++ b/docs/static/_redirects @@ -64,6 +64,7 @@ /:version/install-linux.sh https://github.com/getporter/porter/releases/download/:version/install-linux.sh 200 /:version/install-mac.sh https://github.com/getporter/porter/releases/download/:version/install-mac.sh 200 /:version/install-windows.ps1 https://github.com/getporter/porter/releases/download/:version/install-windows.ps1 200 +/:version/bundle-linux.sh https://github.com/getporter/porter/releases/download/:version/bundle-linux.sh 200 # Redirect the porter release artifacts /:version/* https://github.com/getporter/porter/releases/download/:version/:splat 302 diff --git a/scripts/prep-install-scripts.sh b/scripts/prep-install-scripts.sh index 5c53576dd..17181c47c 100755 --- a/scripts/prep-install-scripts.sh +++ b/scripts/prep-install-scripts.sh @@ -8,3 +8,4 @@ ls -R bin sed -e "s|PORTER_VERSION:-latest|PORTER_VERSION:-$VERSION|g" scripts/install/install-mac.sh > bin/$VERSION/install-mac.sh sed -e "s|PORTER_VERSION:-latest|PORTER_VERSION:-$VERSION|g" scripts/install/install-linux.sh > bin/$VERSION/install-linux.sh sed -e "s|PORTER_VERSION='latest'|PORTER_VERSION='$VERSION'|g" scripts/install/install-windows.ps1 > bin/$VERSION/install-windows.ps1 +sed -e "s|PORTER_VERSION:-latest|PORTER_VERSION:-$VERSION|g" scripts/bundle/bundle-linux.sh > bin/$VERSION/bundle-linux.sh