Create an "ALPHA" release of software
This script creates an ALPHA release of two APT products. It
operates on an ad-hoc basis.
The flow is essentially this:
- Collect all new files into the ALPHA directory and
delete .BAK files.
- Synchronize the files with the ALPHA directory at
APT's main site. The remote ALPHA directory
acts as a mirror site.
- RUN the creation bat files to update the build
directories.
- RUN the release builder for Beyond FTP and APTNet.
Each step is checked for failure using a conditional.
:Comment:# Ignore anything after a "#"
character on a line
:MaxPerServer:5
:Instructions:Synchronize
:Archive:None
:Speed:+2 |
# Run five transfers at
a time
# Only move new files
# Do not archive either the source or
# target
# Operate each transfer with a
# window of 3 messages |
# Collect any new files into the local ALPHA directory.
:Run: J:\ALPHA\MAKALPHA.BAT,,J:\ALPHA
:DeleteFiles: j:\alpha\*.bak
:IF:
BAKDeletes
CompletedOK #
BAK files deleted ok?
# Synchronize the local development directory with the mirror
# site at
the main office.
:From: j:\alpha\*.*
:To
: {Bingham}j:\alpha\*.*
:From: j:\alpha\aptwft\*.*
:To
: {Bingham}j:\alpha\aptwft\*.*
:IF:
Outbound
CompletedOK
#Outbound transfer ok?
# Update the build directories for Beyond FTP and APTNet
:Run: J:\ALPHA\MAKEBFTP.BAT > j:\alpha\makebftp.log,,J:\ALPHA
:IF:
MakeBFTP
CompletedOK
#
Transfer alpha to BFTP
:Run: J:\ALPHA\MAKEAPT.BAT > j:\alpha\makeapt.log,,J:\ALPHA
:IF:
MakeAPT
CompletedOK
#Transfer alpha to APT
# Build the ALPHA releases. Note the last parameter which
# limits the build time to 5 minutes. This prevents errors from
# clogging the system
:Run: h:\vr7\vrelease.exe,"-L,h:\vr7\bftp\bftp.mdb
,release,bftpall,quietly",H:\VR7,5
:IF:
BFTP CompletedOK
#Build BFTP
:Run: h:\vr7\vrelease.exe,"-L,h:\vr7\winlan\aptwin.mdb
,release,aptlanw,quietly"
:IF:APTNet
CompletedOK
#Build APTNet
:End_If:
:End_If:
:End_If:
:End_If:
:End_If:
:End_If: |