Skip to content

Commit

Permalink
Update the release instructions (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethack committed Sep 24, 2018
1 parent dc5929b commit 9fd7ed8
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions docs/Releases.md
@@ -1,21 +1,24 @@
# Releases

Steps for creating a RITA release.
Steps for creating a RITA release.

- Update the `install.sh` script so that the `_RITA_VERSION` variable reflects the desired version tag
- Create a branch with this change and go through the pull request process
- Ensure that all tests pass on this branch
- Note: after merging this pull request, the install script will break until you complete the rest of these steps since the installer will pull the binary file from the release page on Github, which are both yet to be created

- Tag a commit on master as a release
- Checkout the commit
- Tag the commit with `git tag [version]`
- Follow [SemVer](https://semver.org)
- Push the tag to github using `git push origin [version]`
- Wait for Quay.io to build the docker image
- [Use docker to create the build](https://github.com/activecm/rita/blob/master/docs/Docker%20Usage.md#using-docker-to-build-rita)
- Instead of `rita:master`, use `rita:[version]`
- Go to the [releases](https://github.com/activecm/rita/releases) page
- Click `Draft a new release`
- Click `Draft a new release` or pick the already existing draft
- Select the new `[version]` tag
- Fill out the title and description with recent changes
- If the config file changed, give a thorough description of the needed changes
- Publish the release

- Wait for Quay.io to build the docker image
- [Use docker to create the build](https://github.com/activecm/rita/blob/master/docs/Docker%20Usage.md#using-docker-to-build-rita)
- Instead of `rita:master`, use `rita:[version]`

- Go back to the release you published
- Attach the following files:
- The `rita` binary, pulled from the docker image
- The `install.sh` file for the tagged code base
- Publish the release
- The `install.sh` file for the tagged code base

0 comments on commit 9fd7ed8

Please sign in to comment.