Skip to content

Commit

Permalink
Only try to replace macOS version name in *"${deploy}.bottle.json" if…
Browse files Browse the repository at this point in the history
… file exists.

Resolve #88

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Dec 27, 2024
1 parent d44d4ad commit dd4b57f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
autoload zmv
zmv "(*)${built}(*)" "\$1${deploy}\$2"
sed -i '' "s/${built}/${deploy}/g" *"${deploy}.bottle.json"
[[ -n *"${deploy}.bottle.json"(#qN) ]] && sed -i '' "s/${built}/${deploy}/g" *"${deploy}.bottle.json" || true
- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
Expand Down

0 comments on commit dd4b57f

Please sign in to comment.