diff options
Diffstat (limited to 'php-di-invoker-get-source.sh')
-rwxr-xr-x | php-di-invoker-get-source.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/php-di-invoker-get-source.sh b/php-di-invoker-get-source.sh index 48b8385..9399d7f 100755 --- a/php-di-invoker-get-source.sh +++ b/php-di-invoker-get-source.sh @@ -44,6 +44,7 @@ print "GIT_DIR = $GIT_DIR" TEMP_DIR=$(mktemp --dir) TAR_FILE=$PWD/${NAME}-${VERSION}-${GIT_COMMIT}.tar.gz +CMP_FILE=$PWD/composer.json pushd $TEMP_DIR print "Cloning git repo..." @@ -52,6 +53,7 @@ pushd $TEMP_DIR pushd $GIT_DIR print "Checking out commit..." $GIT checkout $GIT_COMMIT + cp composer.json $CMP_FILE popd TAR_DIR=${GIT_NAME}-${GIT_COMMIT} |