Skip to content

Commit

Permalink
Refresh lock file on publish (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Apr 27, 2024
1 parent 31c2312 commit e957aa4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/dev-tools/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,12 @@ if [[ $MODE != "version-only-"* && $MODE != "help" ]]; then
ocular-bootstrap
ocular-test
ocular-test dist
else
# When a dependency change is cherry-picked between branches the lock file may not merge correctly
# Refresh the lock file so that a release can be built from a clean state
yarn
fi
git add yarn.lock

case $MODE in
"help")
Expand Down

0 comments on commit e957aa4

Please sign in to comment.