This document describes the process that should be followed to create a WebLogic Deploy Tooling (WDT) release.
repo:status, repo_deployment, public_repo, and security_events privileges.settings.xml file, where the GitHub Personal Access Token is stored, as shown below. Note that this token can either be stored in plain text or encrypted using Maven password encryption. <servers>
<server>
<id>github</id>
<passphrase>store plain text or encrypted token here</passphrase>
</server>
</servers>
settings.xml file. <proxies>
<proxy>
<active>true</active>
<id>my-proxy</id>
<protocol>http</protocol>
<host>proxy server DNS name</host>
<port>proxy server port</port>
<nonProxyHosts>list of DNS names/patterns separated by |</nonProxyHosts>
</proxy>
</proxies>
The best practice is to write the release notes that will be published to GitHub prior to starting the steps below.
Set (and export) the following environment variables:
WLST_DIR - set to $MW_HOME/oracle_common/common/bin, where $MW_HOME is the path to a WLS 12.2.1.x or newer installation directory.WDT_SCM_REPO_URL - set to the browsable URL to the project (e.g., https://github.com/oracle/weblogic-deploy-tooling)WDT_SCM_REPO_CONN - set to the clonable URL for the project (e.g., git@github.com:oracle/weblogic-deploy-tooling.git)When releasing as part of the Oracle infrastructure, you must make sure to wait until all Jenkins build activity
associated with the main branch is complete prior to starting the release process.
In the weblogic-deploy-tooling project directory, run the mvn -B release:prepare release:perform command.
developmentVersion
property on the command line. For example,mvn -B -DdevelopmentVersion=3.2.0-SNAPSHOT release:prepare release:perform.If the build fails, run the mvn -B release:rollback command to undo it and start over from Step 2., after correcting the issue.
After the software has been released, move on to the GitHub Release Process.
Note that this process relies on the WDT installers being in your local Maven repository. As such, it is critical for the same user to run these steps on the same machine as the steps from the previous section!
<wdt-project-directory>/target/ReleaseNotes.md.mvn -f github-release.xml -DreleaseVersion=<release version number> verify to create the draft GitHub Release.