Skip to content

Commit

Permalink
chore(recipe): Improve update script
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsorst committed Jun 23, 2024
1 parent 7bcefd6 commit c5496ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipe/bin/dev/update
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/sh
git pull \
&& yarn install \
&& yarn upgrade \
&& yarn encore dev \
&& composer update dontdrinkandroot/* --prefer-source \
&& bin/dev/composer-update-patch-only

if [ -n "$(git status --porcelain composer.lock)" ] || [ -n "$(git status --porcelain yarn.lock)" ]; then
git add composer.lock yarn.lock
git commit -m "refactor: Updating dependencies"
fi

0 comments on commit c5496ab

Please sign in to comment.