Compare commits

..

1 Commits

Author SHA1 Message Date
Asher
4af6408e39 Preserve permissions with rsync
This is mostly just because if the opts are empty, it seems to error in
macOS for some reason...(rsync_opts[@]: unbound variable).
2026-04-06 12:03:45 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ jobs:
if: needs.changes.outputs.helm == 'true' if: needs.changes.outputs.helm == 'true'
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
- uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0 - uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- run: helm plugin install https://github.com/instrumenta/helm-kubeval - run: helm plugin install https://github.com/instrumenta/helm-kubeval

View File

@@ -79,7 +79,7 @@ EOF
mv npm-shrinkwrap.json "$RELEASE_PATH" mv npm-shrinkwrap.json "$RELEASE_PATH"
if [ "$KEEP_MODULES" = 1 ]; then if [ "$KEEP_MODULES" = 1 ]; then
local rsync_opts=() local rsync_opts=(-a)
if [[ ${DEBUG-} = 1 ]]; then if [[ ${DEBUG-} = 1 ]]; then
rsync_opts+=(-vh) rsync_opts+=(-vh)
fi fi
@@ -100,7 +100,7 @@ EOF
bundle_vscode() { bundle_vscode() {
mkdir -p "$VSCODE_OUT_PATH" mkdir -p "$VSCODE_OUT_PATH"
local rsync_opts=() local rsync_opts=(-a)
if [[ ${DEBUG-} = 1 ]]; then if [[ ${DEBUG-} = 1 ]]; then
rsync_opts+=(-vh) rsync_opts+=(-vh)
fi fi