Skip to content

Commit

Permalink
Fix merge-upstream script for macOS users
Browse files Browse the repository at this point in the history
FreeBSD-based implementations of `sed` require an empty argument with
the `-i` flag.

See SO comment: https://unix.stackexchange.com/a/36805

[skip changeset]
  • Loading branch information
myabc committed Feb 19, 2025
1 parent e5eea78 commit 0228a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/merge-upstream
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ git checkout -b bump/primer-upstream
git reset --hard origin/main
git merge bump/primer-upstream-ref

find .changeset/ -name "*.md" -exec $SED -i "s/\@primer\/view-components/\@openproject\/primer-view-components/g" {} +
find .changeset/ -name "*.md" -exec $SED -i '' "s/\@primer\/view-components/\@openproject\/primer-view-components/g" {} +

0 comments on commit 0228a31

Please sign in to comment.