Skip to content

Commit

Permalink
Refactor script execution logic to handle multiple paths and recursiv…
Browse files Browse the repository at this point in the history
…e search for .ps1 files

Signed-off-by: PixelRobots <[email protected]>
  • Loading branch information
PixelRobots committed Oct 17, 2024
1 parent ccd139e commit 0faff0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-krewplugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ jobs:
cp "kubectl-KubeTidy" "$darwinAmd64Dir/kubectl-KubeTidy"
cp "kubectl-KubeTidy" "$darwinArm64Dir/kubectl-KubeTidy"
# Copy the Private folder to each platform directory
cp -r "Private" "$linuxAmd64Dir/Private"
cp -r "Private" "$linuxArm64Dir/Private"
cp -r "Private" "$darwinAmd64Dir/Private"
cp -r "Private" "$darwinArm64Dir/Private"
# Set execute permission for the kubectl-KubeTidy script
chmod +x "$linuxAmd64Dir/kubectl-KubeTidy"
chmod +x "$linuxArm64Dir/kubectl-KubeTidy"
Expand Down

0 comments on commit 0faff0d

Please sign in to comment.