-
Notifications
You must be signed in to change notification settings - Fork 263
Creating a MapTool Release
Follow the below steps to create a new "Release" which will create a .jar, .deb, .dmg, .pkg, .exe file.
- Go to GitHub Releases
- Click the [Draft a new release] button.
- Enter a semantic version number in the [Tag version] box, e.g. 1.5.0 or 1.5.1-rc.3
- Select the branch to build the release from
- Enter "MapTool " + release version (same as you entered in [Tag version]
- Enter a high level description for this release such as major feature or major bug fixes. Link to the CHANGE_LOG.md file.
- Click [Publish release]
This will trigger the configured CI's to do a build & deploy. After a few minutes the release artifacts will begin to populate here.
Test the installs and if everything is ok, edit the release and uncheck [This is a pre-release]. This will mark this release as the "Latest Release".
*Note: Once you have marked this as a "Latest release", the GitHub API will return this commit SHA to our AppUpdate.java class which will prompt users that a new release is available.
No worries mate. Just edit the Release. You can delete the artifacts if needed. If you change the Tag Name, it will trigger another build/deploy. You will probably want to change the Target to the branch (vs the current commit) if you had to make a code change and want to create a new build based on latest code from that branch.
_*Note: If you need to re-release using the same version, you need to delete the tag first before you can reuse it. The CI process is triggered on the Tag being created.