-
Notifications
You must be signed in to change notification settings - Fork 14
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:
- Create a release branch:
git flow release start 0.18.0 # replace with the actual new version
- Add the new version and move the
default
flag to it inconfig.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": {}
}
}
- 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.