Skip to content

Commit

Permalink
refactor: use awk instead
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Jan 8, 2025
1 parent c9c0a5b commit 3baff4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
if [[ "${{ matrix.plugins }}" == "default_without_version_in_config" ]]; then
# Remove the version so it defaults to `. -U`.
awk '!/version: 0.8.0/' "ape-config.yaml" > "ape-config.tmp" && mv "ape-config.tmp" "ape-config.yaml"
sed -i 's/version: 0.8.0//g' "ape-config.yaml"
fi
Expand Down

0 comments on commit 3baff4a

Please sign in to comment.