Personal tools

Difference between revisions of "Ace:Release Guidlines"

From Adapt

Jump to: navigation, search
(Add git release instructions)
Line 23: Line 23:
 
# upload the two new binary versions in ace-dist/target to redmine.
 
# upload the two new binary versions in ace-dist/target to redmine.
 
# export the source in the tags/ace-xxx version, tar/gz it and upload to redmine
 
# export the source in the tags/ace-xxx version, tar/gz it and upload to redmine
 +
 +
=Git Release=
 +
# mvn versions:set to $RELEASE
 +
# git add all pom.xml
 +
# git commit
 +
# git tag -a ace-$RELEASE -m 'ace-$RELEASE'
 +
# git archive --format=tar.gz --prefix=ace/ master > ace-$RELEASE-src.tar.gz
 +
# mvn versions:set to next snapshot
 +
# git add all pom.xml
 +
# git commit
 +
# git push

Revision as of 21:02, 14 January 2016

The tests should be performed prior to an ACE release. As many of these as possible should be included in the maven/hudson configs for automated testing.

Prior to release testing, please make sure all bugs/features for that version have been completed on Redmine. https://scm.umiacs.umd.edu/redmine/adapt/projects/ace/roadmap. Update maven version and footer version prior to creating a release package.

Source Testing

  1. export a clean copy of the 'svn export https://subversion.umiacs.umd.edu/ace/trunk ace-test'
  2. 'mvn package' in root, and make sure the build succeeds.

Clean deploy testing

  1. Create a new database using the current ace ace-am.sql file.
  2. From your build, deploy the war file in ace-am/target/ace-am-XXX.war

Upgrade testing

  1. Grab the previous ace release, install the schema and war file
  2. register the test collection.
  3. shutdown instance, run update sql file, drop in new war file
  4. Check error log for errors, check display for major feature changes, run test audit on existing colleciton, register new collection.

Releasing

When you have fully tested everything, use maven to generate the current release and update the current project with the next snapshot.

  1. Run mvn release:prepare in the root project
  2. upload the two new binary versions in ace-dist/target to redmine.
  3. export the source in the tags/ace-xxx version, tar/gz it and upload to redmine

Git Release

  1. mvn versions:set to $RELEASE
  2. git add all pom.xml
  3. git commit
  4. git tag -a ace-$RELEASE -m 'ace-$RELEASE'
  5. git archive --format=tar.gz --prefix=ace/ master > ace-$RELEASE-src.tar.gz
  6. mvn versions:set to next snapshot
  7. git add all pom.xml
  8. git commit
  9. git push