Skip to content

How to release a new version

Konstantin Molchanov edited this page Jul 6, 2018 · 1 revision

This repo follows git flow. To build and deploy the images for a new Nim version:

  1. Create a release branch:
git flow release start 0.18.0 # replace with the actual new version
  1. Add the new version and move the default flag to it in config.json:
{
  "versions": {
+   "0.18.0": {"latest": true},
+   "0.17.2": {},
-   "0.17.2": {"latest": true},
    "0.17.0": {},
    "0.16.0": {},
    "0.15.2": {},
    "0.15.0": {},
    "0.14.3": {},
    "0.14.2": {},
    "0.14.0": {},
    "0.13.0": {}
  },
  "bases": {
    "ubuntu": {"default": true},
    "alpine": {}
  }
}
  1. Commit the change, finish the release, and push with tags:
git add config.json
git commit -m "Add version 0.18.0."
git flow release finish 0.18.0
…
git push --all && git push --tags

The new images will be built and uploaded by Travis CI.

Clone this wiki locally