From 039a93e72a97f900887f0d8d629a7f816ae05f08 Mon Sep 17 00:00:00 2001 From: Matteo Depalo Date: Mon, 5 Dec 2022 14:39:43 +0000 Subject: [PATCH 1/3] Packaging for release v2.32.1 --- CHANGELOG.md | 2 ++ Gemfile.lock | 2 +- lib/shopify_cli/version.rb | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6dec28db9..209c2b5f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ From version 2.6.0, the sections in this file adhere to the [keep a changelog](h ## [Unreleased] +## Version 2.32.1 - 2022-12-05 + ### Fixed * [#2694](https://github.com/Shopify/shopify-cli/pull/2694): Add sunset warnings diff --git a/Gemfile.lock b/Gemfile.lock index 6f483fe75..b480c03af 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - shopify-cli (2.32.0) + shopify-cli (2.32.1) bugsnag (~> 6.22) listen (~> 3.7.0) theme-check (~> 1.11.0) diff --git a/lib/shopify_cli/version.rb b/lib/shopify_cli/version.rb index 5fb95ef87..70a3986bd 100644 --- a/lib/shopify_cli/version.rb +++ b/lib/shopify_cli/version.rb @@ -1,3 +1,3 @@ module ShopifyCLI - VERSION = "2.32.0" + VERSION = "2.32.1" end From 45bcb0c516dcc23649433d891174416b73dff546 Mon Sep 17 00:00:00 2001 From: Matteo Depalo Date: Mon, 5 Dec 2022 14:44:58 +0000 Subject: [PATCH 2/3] Make new version warning test dynamic based on the current version --- test/shopify-cli/core/entry_point_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shopify-cli/core/entry_point_test.rb b/test/shopify-cli/core/entry_point_test.rb index 70ec5718f..3f07487fa 100644 --- a/test/shopify-cli/core/entry_point_test.rb +++ b/test/shopify-cli/core/entry_point_test.rb @@ -128,7 +128,7 @@ def test_theme_sunset_warning private def new_version_message - "{{*}} {{yellow:A new version of Shopify CLI is available! You have version 2.32.0 and the latest version is "\ + "{{*}} {{yellow:A new version of Shopify CLI is available! You have version #{ShopifyCLI::VERSION} and the latest version is "\ "2.99.0.\n\n To upgrade, follow the instructions for the package manager you’re using:\n "\ "{{underline:https://shopify.dev/themes/tools/cli/upgrade-uninstall}}}}\n\n" end From 1a2f55c40856cad4b349d4cd4376e3f6172bc988 Mon Sep 17 00:00:00 2001 From: Matteo Depalo Date: Mon, 5 Dec 2022 14:59:34 +0000 Subject: [PATCH 3/3] Fix rubocop error --- test/shopify-cli/core/entry_point_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/shopify-cli/core/entry_point_test.rb b/test/shopify-cli/core/entry_point_test.rb index 3f07487fa..e28ba0022 100644 --- a/test/shopify-cli/core/entry_point_test.rb +++ b/test/shopify-cli/core/entry_point_test.rb @@ -128,7 +128,8 @@ def test_theme_sunset_warning private def new_version_message - "{{*}} {{yellow:A new version of Shopify CLI is available! You have version #{ShopifyCLI::VERSION} and the latest version is "\ + "{{*}} {{yellow:A new version of Shopify CLI is available! "\ + "You have version #{ShopifyCLI::VERSION} and the latest version is "\ "2.99.0.\n\n To upgrade, follow the instructions for the package manager you’re using:\n "\ "{{underline:https://shopify.dev/themes/tools/cli/upgrade-uninstall}}}}\n\n" end