Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

Release day - 1 week

Release day

Update the release notes

Add the release notes to distro/src/main/files/readme.html

Initial preparation in the codebase

  • Verify that the release notes have been added
  • Create the release branch: 
  • Update the version in the release branch: s/5.1-SNAPSHOT/5.1/g
  • Update the version in trunk to the next version's snapshot e.g. s/5.1-SNAPSHOT/5.2-SNAPSHOT/g
  • Update the version in trunk of module activiti-upgrade to the new snapshot.  e.g. s/5.1-ALWAYS-SNAPSHOT/5.2-ALWAYS-SNAPSHOT/g
  • Verification: Run the test suite: mvn -Pcheck clean install in the code base root

Test the distribution

  • Remove the 'skip.deploy.activiti.modeler=true' from $user.home/.activiti/build.properties
    Or even better: rename the build.properties temporary to e.g. XXXbuild.properties
  • Verification: Run the demo setup: ant test.demo.setup in directory qa

Upload the distribution

Build the distribution in directory distro:

Then upload the distro/target/activiti-5.0.alpha3.zip to http://ts.alfresco.com/share/page/site/activiti/documentlibrary#path=/Downloads&page=1

Trigger Ash to upload the file to Amazon S3

Publish the maven artifacts

Add following to /{$user.home}/.m2/settings.xml

Note that this will save your password in plain text.
It is possible (since maven 2.1.0) to encrypt your password (untested): http://maven.apache.org/guides/mini/guide-encryption.html

Then do 

on the root of the sources. This will publish all artifact to the snapshot/release repo, depending whether '-SNAPSHOT' is added to the current project version.

snapshot repo: http://maven.alfresco.com/nexus/content/repositories/activiti-snapshots/
release repo: http://maven.alfresco.com/nexus/content/repositories/activiti/

IMPORTANT: Due to a bug in Maven 2.2.0 and 2.2.1 see (http://jira.codehaus.org/browse/MNG-4235 and http://jira.codehaus.org/browse/MNG-4301), maven upload wrong checksums.

This is can currently only be fixed by logging in into the Alfresco Nexus app (http://maven.alfresco.com/nexus/index.html#welcome), and manually selecting

the activiti folder, right-clicking and selecting 'rebuild Metadata'.

Publish the designer integration jar

To publish the designer integration jar, following command should be used

This requires you to have a ${user.home}/.m2/settings.xml specifying your credentials to upload release artifacts

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
  <servers>
    <server>
      <id>alfresco.snapshot.repo</id>
      <username>tbaeyens</username>
      <password>Ojadnot8</password>
    </server>
    <server>
      <id>alfresco.release.repo</id>
      <username>tbaeyens</username>
      <password>Ojadnot8</password>
    </server>
  </servers>
</settings>

Update the website

  • Publish the docs:  in directory distro
  • If they are updated, update the version andn publish the new .xsd schemas for http://activiti.org/cfg and http://activiti.org/bpmn
  • Add the new release to the downloads page in the website
  • Commit the docs and download page updates to the website

Make noise

  • Blog and tweet about it
  • No labels