diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a8338b7335..ef95e18145 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -39,7 +39,7 @@ jobs: - name: Major Version in Upgrade Handler Must Match Tag run: | - UPGRADE_HANDLER_MAJOR_VERSION=$(cat app/setup_handlers.go | grep "const releaseVersion" | cut -d ' ' -f4 | tr -d '"' | cut -d '.' -f1) + UPGRADE_HANDLER_MAJOR_VERSION=$(cat app/setup_handlers.go | grep "const releaseVersion" | cut -d ' ' -f4 | tr -d '"') echo $UPGRADE_HANDLER_MAJOR_VERSION GITHUB_TAG_MAJOR_VERSION=$(echo ${{ github.ref_name }} | cut -d '.' -f1) if [ $GITHUB_TAG_MAJOR_VERSION != $UPGRADE_HANDLER_MAJOR_VERSION ]; then diff --git a/app/setup_handlers.go b/app/setup_handlers.go index 18a8ae1f62..51d0377c02 100644 --- a/app/setup_handlers.go +++ b/app/setup_handlers.go @@ -8,7 +8,7 @@ import ( observertypes "github.com/zeta-chain/zetacore/x/observer/types" ) -const releaseVersion = "v10.1.0" +const releaseVersion = "v12.1.0" func SetupHandlers(app *App) { app.UpgradeKeeper.SetUpgradeHandler(releaseVersion, func(ctx sdk.Context, plan types.Plan, vm module.VersionMap) (module.VersionMap, error) { diff --git a/version b/version index 6eaf894335..f08fdfcf7a 100644 --- a/version +++ b/version @@ -1 +1 @@ -v2.0.0 \ No newline at end of file +v12.1.0 \ No newline at end of file