Difference between revisions of "PubMan INGe Release Process"

From MPDLMediaWiki
Jump to navigation Jump to search
(Created page with "This page describes how to release PubMan/INGe. =Before the release= * Download Git (You should have it already to work on imeji).Git is necessary. For Windows, we use the Win...")
 
Line 24: Line 24:
</pre>
</pre>
*Perform the release (the site deployment is not supported so far. Therefore we skip it here)
*Perform the release (the site deployment is not supported so far. Therefore we skip it here)
<pre>mvn release:perform -Dgoals=deploy</pre>  
<pre>mvn release:perform -Dgoals=deploy -s [absolutepath/to/settings-inge.xml] -P env-release-build</pre>  


[[Category:INGe|Release process]]
[[Category:INGe|Release process]]

Revision as of 14:44, 23 August 2018

This page describes how to release PubMan/INGe.

Before the release[edit]

  • Download Git (You should have it already to work on imeji).Git is necessary. For Windows, we use the Windows PowerShell (available via Github client). The steps are:
  • Check you are working in the release branch
git checkout release_branch
git pull
  • Check that release branch is not in possible conflict state with the master branch. It might happen if somebody has made a commit in master (although that shouldn't happen)

Release imeji[edit]

  • Prepare the release

Windows:

mvn release:prepare -s [absolutepath/to/settings-inge.xml] -P env-release-build -DignoreSnaphots=true
-DupdateReleaseInfos=true -DpreparationGoals="clean install`

Linux/Mac

mvn release:prepare -s [absolutepath/to/settings-inge.xml] -P env-release-build -DignoreSnaphots=true
-DupdateReleaseInfos=true -DpreparationGoals="clean install"
  • If a problem happened, do a rollback
mvn release:rollback
git tag -d tag-name //comment: rollback doesn't remove the tag, that must be removed before doing a new release:prepare
git push origin :tag-name// comment: remove the tag in remote
  • Perform the release (the site deployment is not supported so far. Therefore we skip it here)
mvn release:perform -Dgoals=deploy -s [absolutepath/to/settings-inge.xml] -P env-release-build