You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document describes the process that should be followed to create a WebLogic Deploy Tooling (WDT) release.
3
+
4
+
## Prerequisites
5
+
- A local installation of WebLogic Server 12.2.1.x must be available.
6
+
- The person running the release process must have admin privileges on the [WebLogic Deploy Tooling GitHub repo](https://github.com/oracle/weblogic-deploy-tooling) since the release process pushes to the master branch directly.
7
+
- The person running the release process needs to create a GitHub Personal Access Token for the repository with (at least) the `repo:status`, `repo_deployment`, `public_repo`, and `security_events` privileges.
8
+
- The person running the release needs a server added to their Maven `settings.xml` where the GitHub Personal Access Token is stored, as shown below. Note that this token can either be stored in plain text of encrypted using [Maven password encryption](https://maven.apache.org/guides/mini/guide-encryption.html).
9
+
10
+
```xml
11
+
<servers>
12
+
<server>
13
+
<id>github</id>
14
+
<passphrase>store plain text or encrypted token here</passphrase>
15
+
</server>
16
+
</servers>
17
+
```
18
+
19
+
## Software Release Process
20
+
The best practice is to write the release notes that will be published to GitHub prior to starting the steps below.
21
+
22
+
1. Set (and export) the environment variable `WLST_DIR` to `<WLS-install-dir>/oracle_common/common/bin`, replacing `<WLS-install-dir>` with the full path to the WLS 12.2.1.x installation directory.
23
+
2. In the weblogic-deploy-tooling project directory, create a file called `release.properties` with content similar to the example shown below. Note that the example is configured to cut the 1.9.11 release.
24
+
25
+
```properties
26
+
tag=release-1.9.11
27
+
releaseVersion=1.9.11
28
+
developmentVersion=1.9.12-SNAPSHOT
29
+
```
30
+
31
+
3. In the weblogic-deploy-tooling project directory, run the `mvn -B -P release release:prepare release:perform` command. If your SSH private key has a passphrase, watch the build closely since it will prompt for your passphrase multiple times. Failure to enter it in a timely manner may result in a failure.
32
+
4. If the build fails, run the `mvn -B -P release release:rollback` command to undo it and start over from Step 2 after correcting the issue.
33
+
5. Once the software has been released, move on to the GitHub Release Process.
34
+
35
+
## GitHub Release Process
36
+
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!
37
+
38
+
1. Save the release notes in the file `<wdt-project-directory>/target/ReleaseNotes.md`.
39
+
2. Run the command `mvn -f github-release.xml -DreleaseVersion=<release version number> verify` to create the draft GitHub Release.
40
+
3. Log into [GitHub](https://github.com/oracle/weblogic-deploy-tooling), go to the Releases page, review/edit the draft release, and then publish the release.
0 commit comments