The following instructions have been described in french at: Créer une release.
Example for runtime-800
.
- create a
release/runtime-800
branch locally - update the values:
- update spec version (in
runtime/<currency>/src/lib.rs
) - eventually update
gdev.yml
(smiths, tech. committee, ...)
- update spec version (in
- push the
release/runtime-800
branch- in the CI/CD, wait for
Create release
button to be available and click on it (see above screenshot)
- in the CI/CD, wait for
The Runtime is now available on the release page runtime-800.
The Client is published as a Docker image.
You may want to publish a new Client version along with a Runtime update.
For a reboot, you will likely want to update the raw specs:
- in the CI/CD, wait for
release_gdev_specs
button to be available and click on it - in the CI/CD, wait for
release_gtest_specs
button to be available and click on it - wait for both jobs to finish
- update the Client raw specs with
cargo xtask update-raw-specs runtime-800
Update Client values:
- update Client version (in
Cargo.toml
) - update
Cargo.lock
withcargo build
Commit everything and push the branch:
- in the CI/CD, a new pipeline has been launched
- you can stop jobs
create_g1_data
,gdev_srtool
,gtest_srtool
(won't be used) - click on
gdev_docker_deploy
andgtest_docker_deploy
The Docker images should now be available at: https://hub.docker.com/r/duniter/duniter-v2s-gdev/tags.
Our runtime tags use xxyy
version numbers where x
corresponds to major change and y
hotfix.
Make sure to move any issue or merge request assigned to the choosen milestone runtime-xxyy
to the next one. This prevents from forgetting unfinished work.