Release Process: Difference between revisions

From EPOD
No edit summary
No edit summary
Line 2: Line 2:
*Update to make sure you have the latest programs for all projects.
*Update to make sure you have the latest programs for all projects.
*Update the version numbers in the AssemblyInfo.cs file(s).
*Update the version numbers in the AssemblyInfo.cs file(s).
**If releasing the admin client the versions in the four projects (ePOD_AutoExport, ePOD_WebApp, ePOD_WebServices and EPODServer) must be kept the same.
**If releasing the admin client the versions in the four projects (ePOD_AutoExport, ePOD_WebApp, ePOD_WebServices and EPODServer) need not be kept the same.
**If releasing the pda client the versions in the two projects (ePODClient and ePODClientUpdater) can be different.
**If releasing the pda client the versions in the two projects (ePODClient and ePODClientUpdater) can be different.
*Copy the release template folder <pre>P:\EPOD\_Development\_Releases\ePOD Release Vx.xx.xxx</pre> to create a release directory.
*Copy the release template folder <pre>P:\EPOD\_Installers\Releases In Progress\EPOD_UPYYMMDD_Template</pre> to create a release directory.
*Rename the release directory replacing Release with either Admin or PDA (depending on what is being released) and updating the x.xx.xxx to the new version number.
*Rename the release directory replacing YYMMDD with the date the release is being performed.
*Any SQL changes should be placed within the SQL\Upgrade folder
*Any SQL changes should be placed within the Release folder, in files UPYYYYMMDD MSSQL.SQL and UPYYYYMMDD MYSQL.SQL
*Delete any unused subfolders (e.g. the PDA subfolder if releasing the admin).
*The Full Database creation scripts should also be maintained and created in the Full DB subfolder.
*Enter any required release notes in the ePOD Release.txt file in the release directory.
*Enter any required release notes in the UPYYMMDD Release Notes.txt file in the Release directory.
*Zip up the folder to UPYYMMDD.zip and store in Releases folder
*Label all the Sourcesafe projects affected with a label of UPYYMMDD. Set the text to the list of changes from the release notes.





Revision as of 16:24, 8 January 2013

  • Check in any outstanding changes.
  • Update to make sure you have the latest programs for all projects.
  • Update the version numbers in the AssemblyInfo.cs file(s).
    • If releasing the admin client the versions in the four projects (ePOD_AutoExport, ePOD_WebApp, ePOD_WebServices and EPODServer) need not be kept the same.
    • If releasing the pda client the versions in the two projects (ePODClient and ePODClientUpdater) can be different.
  • Copy the release template folder
    P:\EPOD\_Installers\Releases In Progress\EPOD_UPYYMMDD_Template
    to create a release directory.
  • Rename the release directory replacing YYMMDD with the date the release is being performed.
  • Any SQL changes should be placed within the Release folder, in files UPYYYYMMDD MSSQL.SQL and UPYYYYMMDD MYSQL.SQL
  • The Full Database creation scripts should also be maintained and created in the Full DB subfolder.
  • Enter any required release notes in the UPYYMMDD Release Notes.txt file in the Release directory.
  • Zip up the folder to UPYYMMDD.zip and store in Releases folder
  • Label all the Sourcesafe projects affected with a label of UPYYMMDD. Set the text to the list of changes from the release notes.


Releasing Web_App

  • Use the publish option against the ePOD_WebApp project (right click project and select publish or select publish ePOD_WebApp option in the Build menu).
    • Set the Publish method to File System.
    • Set the Target Location to the Admin folder within the release directory (e.g. P:\EPOD\_Development\_Releases\ePOD Admin V1.32.7\Admin).
  • In folder used for the publish delete the web.config file (if present).
  • In folder used for the publish go into the WebServices\Calidus_ePOD\PDAUpdates subdirectory and delete the UpdatesInfo.xml file (if present).
  • To release copy the contents of the folder used for the publish to the application folder on the target machine, overwriting any existing files. Do not delete any files (the web.config is not released and the contents of the PDAUpdates folder created by a PDA release).


Releasing PDA

  • Set the Debug/Rlease drop-down to Release.
  • Build the ePODClientInstaller, ePODUpdateInstaller and ePODClientInstallerComplete projects.
    • To build right click the project and select Build.
    • The ePODClientInstaller and ePODUpdateInstaller projects must be built before the ePODClientInstallerComplete
  • Copy the three cab files from your local ePOD_AutoExport\bin\Release folder (e.g. C:\Projects\EPOD\ePOD_WebApp\ePOD_AutoExport\bin\Release) to the PDA folder within the release directory (e.g. P:\EPOD\_Development\_Releases\ePOD PDA V1.31.1.9\PDA).
  • To release:
    • Copy the three cab files from the release PDA directory to the PDAUpdates directory on the target machine. This direcotry is below the Admin web application directory in the WebServices\Calidus_ePOD subdirectory.
    • In the same PDAUpdates directory update the version numbers in the UpdatesInfo.xml file.


AutoExport

  • Using visual studio get the latest version of the AutoExport
  • Use the publish option.
  • Copy the contents of the build folder typically (Project\Release) to your release folder


  • At this point this should be deployed to Dev and Test.