From 92d12844c9fabdc61a2b725248ab777266a1584b Mon Sep 17 00:00:00 2001 From: Andy Heathershaw Date: Wed, 1 Aug 2018 13:47:05 +0100 Subject: [PATCH] Update page 'Generate manual vendor library archives' --- Generate-manual-vendor-library-archives.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Generate-manual-vendor-library-archives.md b/Generate-manual-vendor-library-archives.md index 72ca3ef..08fb582 100644 --- a/Generate-manual-vendor-library-archives.md +++ b/Generate-manual-vendor-library-archives.md @@ -3,5 +3,19 @@ To generate the archive of manual vendor libraries (users will need to download * Git checkout the Blue Twilight repository (`git clone ssh://git@apps.andysh.uk:7999/aheathershaw/blue-twilight.git `) * Change into the directory just checked out (`cd `) * Fetch all tags (`git fetch --all --tags --prune`) -* Checkout the version tag to generate the vendor libraries for (`git checkout tags/`) -* Run `composer install` to install the vendor libraries \ No newline at end of file +* Checkout the version tag to generate the vendor libraries for (`git checkout tags/v`) +* Run `composer install` to install the vendor libraries +* Create the .zip file (`zip -rTo vendors_v.zip vendor`) +* Create the .tar.gz (`tar -czf vendors_v.tar.gz vendor`) + +For example: + +``` +git clone ssh://git@apps.andysh.uk:7999/aheathershaw/blue-twilight.git blue-twilight-vendors +cd blue-twilight-vendors +git fetch --all --tags --prune +git checkout tags/v2.1.2 +composer install +zip -rTo vendors_v2.1.2.zip vendor +tar -czf vendors_v2.1.2.tar.gz vendor +``` \ No newline at end of file