diff --git a/docs/docs/migration/v0.18.md b/docs/docs/migration/v0.18.md index 91a37d3462..f57e148c30 100644 --- a/docs/docs/migration/v0.18.md +++ b/docs/docs/migration/v0.18.md @@ -1,5 +1,5 @@ --- -sidebar_position: 3 +sidebar_position: 4 title: v0.18 description: For chains that were scaffolded with Ignite CLI versions lower than v0.18, changes are required to use Ignite CLI v0.18. --- diff --git a/docs/docs/migration/v0.19.2.md b/docs/docs/migration/v0.19.2.md index f619c9f514..22b86bc65e 100644 --- a/docs/docs/migration/v0.19.2.md +++ b/docs/docs/migration/v0.19.2.md @@ -1,5 +1,5 @@ --- -sidebar_position: 2 +sidebar_position: 3 title: v0.19.2 description: For chains that were scaffolded with Ignite CLI versions lower than v0.19.2, changes are required to use Ignite CLI v0.19.2. --- diff --git a/docs/docs/migration/v0.20.0.md b/docs/docs/migration/v0.20.0.md index 05a5f4050d..76bb8efa97 100644 --- a/docs/docs/migration/v0.20.0.md +++ b/docs/docs/migration/v0.20.0.md @@ -1,5 +1,5 @@ --- -sidebar_position: 1 +sidebar_position: 2 title: v0.20.0 description: For chains that were scaffolded with Ignite CLI versions lower than v0.20.0, changes are required to use Ignite CLI v0.20.0. --- diff --git a/docs/docs/migration/v0.22.0.md b/docs/docs/migration/v0.22.0.md index db2b738284..3e33532796 100644 --- a/docs/docs/migration/v0.22.0.md +++ b/docs/docs/migration/v0.22.0.md @@ -1,12 +1,12 @@ --- -sidebar_position: 0 +sidebar_position: 1 title: v0.22.0 description: For chains that were scaffolded with Ignite CLI versions lower than v0.22.0, changes are required to use Ignite CLI v0.22.0. --- # Upgrading a blockchain to use Ignite CLI v0.22.0 -1. Open your `go.mod` and change the Ignite CLI line with `github.com/ignite/cli v0.22.0` +1. Open your `go.mod` and change the Ignite CLI line with `github.com/ignite-hq/cli v0.22.0` 2. Upgrade your IBC version to [v3](https://github.com/cosmos/ibc-go/releases/tag/v3.0.0). diff --git a/docs/docs/migration/v0.22.2.md b/docs/docs/migration/v0.22.2.md new file mode 100644 index 0000000000..00a4812585 --- /dev/null +++ b/docs/docs/migration/v0.22.2.md @@ -0,0 +1,16 @@ +--- +sidebar_position: 0 +title: v0.22.2 +description: For chains that were scaffolded with Ignite CLI versions lower than v0.22.2, changes are required to use Ignite CLI v0.22.2. +--- + +# Upgrading a blockchain to use Ignite CLI v0.22.2 + +Ignite CLI v0.22.2 changed the GitHub username from "ignite-hq" to "ignite", which means the imports must be fixed to reflect this change. + +1. In your `go.mod` file find the require line for Ignite CLI that starts with `github.com/ignite-hq/cli` and is followed by a version. + It looks something like `github.com/ignite-hq/cli v0.22.0`, and replace it by `github.com/ignite/cli v0.22.2`. + +2. Make a bulk find and replace in the import statements for `github.com/ignite-hq/cli` to be replaced by `github.com/ignite/cli`. + +3. Finally run `go mod tidy` and ensure there's no mention if `ignite-hq/cli` in your `go.mod` file.