Skip to content

Commit

Permalink
Add bundle script to release and netify redirects
Browse files Browse the repository at this point in the history
Signed-off-by: John Cudd <jmcudd@gmail.com>
  • Loading branch information
jmcudd committed Aug 24, 2024
1 parent f885548 commit 58ba090
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/static/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions scripts/prep-install-scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 58ba090

Please sign in to comment.