From b3e8a220a3e4a97b7f2e13b4669a9b0d152f553d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Thu, 22 Jun 2023 11:26:01 +0200 Subject: [PATCH] docs: move version.go bump to the right place --- RELEASING.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index b260b25f10..3990216f73 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -24,8 +24,6 @@ Once the remote is properly set, please follow these steps: DRY_RUN="false" ./scripts/pre-release.sh - The script will update the [mkdocs.yml](./mkdocks.yml) file, updating the `latest_version` field to the current version. -- The script will update the [version.go](./internal/version.go) file, setting the next development version to the next **minor** version by default. For example, if the current version is `v0.18.0`, the script will update the [version.go](./internal/version.go) file with the next development version `v0.19.0`. - - The script will update the `go.mod` files for each Go modules and example modules under the examples and modules directories, updating the version of the testcontainers-go dependency to the recently created tag. - The script will modify the docs for the each Go module **that was not released yet**, updating the version of _Testcontainers for Go_ where it was added to the recently created tag. @@ -135,6 +133,7 @@ Once you are satisfied with the modified files in the git state: "${directory}/${module_name}/${version}", e.g. "examples/mysql/v0.18.0", "modules/compose/v0.18.0" +- The script will update the [version.go](./internal/version.go) file, setting the next development version to the value defined in the `BUMP_TYPE` environment variable. For example, if the current version is `v0.18.0`, the script will update the [version.go](./internal/version.go) file with the next development version `v0.19.0`. - The script will create a commit in the **main** branch if the `DRY_RUN` variable is set to `false`. - The script will push the main branch including the tags to the upstream repository, https://github.com/testcontainers/testcontainers-go, if the `DRY_RUN` variable is set to `false`. - Finally, the script will trigger the Golang proxy to update the modules in https://proxy.golang.org/, if the `DRY_RUN` variable is set to `false`.