From 009326a4076f9176236fefc5ed2880586fc56a9f Mon Sep 17 00:00:00 2001 From: Vitaly Bogdanov Date: Wed, 23 Oct 2024 16:57:36 +0300 Subject: [PATCH] Update the version to 0.2.1 Update documentation because starting from release 0.2.0 the version needs to be updated before release. --- Cargo.toml | 4 ++-- docs/DEVELOPMENT.md | 23 +++++++++++------------ python/VERSION | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aa24a27aa..293fac04e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,11 +7,11 @@ members = [ resolver = "2" [workspace.package] -version = "0.2.0" +version = "0.2.1" edition = "2021" [workspace.dependencies] -hyperon = { path = "./lib", version = "0.2.0" } +hyperon = { path = "./lib", version = "0.2.1" } regex = "1.11.0" log = "0.4.0" env_logger = "0.8.4" diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 0ad489bbf..8bdf25b14 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -41,7 +41,7 @@ documentation](https://cibuildwheel.pypa.io/en/stable/) for details. ## How to update the version -Usually it is needed after releasing the artifacts or before making a test +Usually it is needed before releasing the artifacts or before making a test release. There are three locations to update: @@ -54,17 +54,16 @@ All three locations should contain the same version. ## How to release binaries -Use [Create a new release -link](https://github.com/trueagi-io/hyperon-experimental/releases/new) on the -main page of the GitHub repo. Press `Choose a tag` control and type new tag -which should be in form of `v` (for example if next version is -`0.1.7` then tag is `v0.1.7`). Next version should be identical to versions -which are written in locations mentioned in [How to update the -version](#how-to-update-the-version) instruction. After typing the tag press -`Create new tag on publish`. Now press `Generate release notes` button. It will -automatically fill the `Release title` and `Release description` fields. Tick -`Set as a pre-release` checkbox if needed and press `Publish release` button. -Now you have published new GitHub release and triggered a job to build release +Update the version [How to update the version](#how-to-update-the-version) in +the main branch of the repository, raise PR and merge it. Use [Create a new +release link](https://github.com/trueagi-io/hyperon-experimental/releases/new) +on the main page of the GitHub repo. Press `Choose a tag` control and type new +tag which should be in form of `v` (for example if version is +`0.1.7` then tag is `v0.1.7`). After typing the tag press `Create new tag +on publish`. Now press `Generate release notes` button. It will automatically +fill the `Release title` and `Release description` fields. Tick `Set as a +pre-release` checkbox if needed and press `Publish release` button. Now you +have published new GitHub release and triggered a job to build release artifacts. After release job is finished one need to approve publishing artifacts to the diff --git a/python/VERSION b/python/VERSION index d52d7ac8b..b45436b55 100644 --- a/python/VERSION +++ b/python/VERSION @@ -1 +1 @@ -'0.2.0' +'0.2.1'