Update page 'Generate manual vendor library archives'

Andy Heathershaw 2018-08-01 13:47:05 +01:00
parent 19105dfaf7
commit 92d12844c9

@ -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 <folder_name>`)
* Change into the directory just checked out (`cd <folder_name>`)
* Fetch all tags (`git fetch --all --tags --prune`)
* Checkout the version tag to generate the vendor libraries for (`git checkout tags/<version_number>`)
* Checkout the version tag to generate the vendor libraries for (`git checkout tags/v<version_number>`)
* Run `composer install` to install the vendor libraries
* Create the .zip file (`zip -rTo vendors_v<version_number>.zip vendor`)
* Create the .tar.gz (`tar -czf vendors_v<version_number>.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
```