Commit 07814c84 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Add the missing ReadMe

Update DiscDev to copy the ReadMe/txt (and LICENSE) into the resulting Zip. The SEC doesn't include this as extraction isn't interactive and would deposit 2 files up one directory.

Version 0.91. Tagged as 'ABRelease-0_91'
parent 005aeab3
||| Create an empty directory to hold the files that will be zipped up
||CDir <ab_res$dir>.zip
||
||| Copy the Apache licence file into the zip directory
||Copy ab_res:LICENSE <ab_res$dir>.zip.LICENSE ~cf~r~v
||
||| Copy the ReadMe for this build into the zip directory
||Copy ab_res:ReadMe/txt <ab_res$dir>.zip.ReadMe/txt ~cf~r~v
||
||| Create a RAM disc with a decent amount of free space
||ChangeDynamicArea -RamFsSize 50M
||
||| Copy the results of the Disc build process into the RAM disc
||Copy <Build$Dir>.Install.HardDisc4 RAM:$ ~cfr~v
||
||| Fill the empty space in the RAM disc with a load of zeros
||Run <ab_res$dir>.ZeroFill
||Remove RAM:$.zeros
||
||| Save the RAMFS dynamic area to a file (a Filecore disc image)
||Run <ab_res$dir>.SaveRAMFS <ab_res$dir>.zip.FcoreDisc
||
||| Set the zip directory as the current directory
||Dir <ab_res$dir>.zip
||
||| Create a zip archive with the required files in it
||Do zip -9qr ^.<ab_local$zip> *
||
||| Return the CSD to its original state
||Back
||
||| Delete any pre-existing zip archive on the autobuild server
||Remove <ab_zip$file>
||
||| Copy the template zip archive onto the autobuild server
||SetType <ab_res$dir>.<ab_local$zip> &A91
||Copy <ab_res$dir>.<ab_local$zip> <ab_zip$file> ~cfr~v
||Access <ab_zip$file> rw/r
......@@ -18,10 +18,20 @@ IfThere <Build$Dir>.Install.HardDisc4 Then Else Obey
| Run our clean script
Run <ab_res$dir>.clean
| Copy the Apache licence file into the zip directory
Copy ab_res:LICENSE <Build$Dir>.Install.LICENSE ~cf~r~v
| Copy the ReadMe for this build into the zip directory
Copy ab_res:ReadMe/txt <Build$Dir>.Install.ReadMe/txt ~cf~r~v
| Create a zip archive with the required files in it
Dir <Build$Dir>.Install
Do zip -9qr <ab_res$dir>.<ab_local$zip> HardDisc4
Do zip -9qr <ab_res$dir>.<ab_local$zip> HardDisc4 LICENSE ReadMe/txt
Remove <Build$Dir>.Install.LICENSE
Remove <Build$Dir>.Install.ReadMe/txt
SetType <ab_res$dir>.<ab_local$zip> &A91
| Return the CSD to its original state
Back
| Create the self-extracting version of the HardDisc4 image
......
/* (0.90)
/* (0.91)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.90
#define Module_MajorVersion_CMHG 0.91
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 01 Dec 2018
#define Module_Date_CMHG 09 Dec 2018
#define Module_MajorVersion "0.90"
#define Module_Version 90
#define Module_MajorVersion "0.91"
#define Module_Version 91
#define Module_MinorVersion ""
#define Module_Date "01 Dec 2018"
#define Module_Date "09 Dec 2018"
#define Module_ApplicationDate "01-Dec-18"
#define Module_ApplicationDate "09-Dec-18"
#define Module_ComponentName "ABRelease"
#define Module_ComponentPath "apache/RiscOS/Utilities/Autobuild/ABRelease"
#define Module_FullVersion "0.90"
#define Module_HelpVersion "0.90 (01 Dec 2018)"
#define Module_LibraryVersionInfo "0:90"
#define Module_FullVersion "0.91"
#define Module_HelpVersion "0.91 (09 Dec 2018)"
#define Module_LibraryVersionInfo "0:91"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment