Last active
June 22, 2021 14:10
-
-
Save anyt/0f04cbe2cd295c43e54e5c94ce769a45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer create-project davidrjonas/composer-lock-diff:^1.0 --working-dir=$APP_ROOT | |
local composer_diff=$(php -derror_reporting=0 ./composer-lock-diff/composer-lock-diff --from HEAD:composer.lock --to composer.lock --md) | |
rm -rf ${APP_ROOT}/composer-lock-diff | |
git commit -a -m "Updated composer.locks | |
${composer_diff}" || fatal "Can't commit to git" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment