Skip to content

Commit

Permalink
Fix sed portability
Browse files Browse the repository at this point in the history
  • Loading branch information
kanterov committed Jan 20, 2025
1 parent a7a0120 commit 6801290
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acceptance/bundle/templates/experimental-jobs-as-code/script
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cd output/my_jobs_as_code
uv sync 2> /dev/null

# remove version constraint because it always creates a warning on dev builds
sed -i '' -e "/^ databricks_cli_version: .*$/d" databricks.yml
cat databricks.yml | grep -v databricks_cli_version > databricks.yml.new
mv databricks.yml.new databricks.yml

trace $CLI bundle validate -t dev --output json | jq ".resources"

0 comments on commit 6801290

Please sign in to comment.