From b3799feb5ef407948df7bf1cc1667fe552d4da63 Mon Sep 17 00:00:00 2001 From: Tomasz Urbaszek Date: Wed, 15 May 2024 16:40:17 +0200 Subject: [PATCH] Update formula to v2.3.0 --- Formula/snowcli.rb | 6 +++--- Formula/snowflake-cli.rb | 6 +++--- update.sh | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Formula/snowcli.rb b/Formula/snowcli.rb index 9a2ae3d..4764e16 100644 --- a/Formula/snowcli.rb +++ b/Formula/snowcli.rb @@ -2,8 +2,8 @@ class Snowcli < Formula include Language::Python::Virtualenv desc "A CLI for Snowflake development" homepage "https://github.com/snowflake-labs/snowflake-cli" - url "https://files.pythonhosted.org/packages/bb/98/c2804ddaf7f8fca22641bdad572ed7678f405ba50bbe7bbf5e750c86be07/snowflake_cli_labs-2.2.0.tar.gz" - sha256 "9fb2c241b55db00bac267d2b6ba0d53440310f1ba9a78da97526617736d19f20" + url "https://files.pythonhosted.org/packages/9e/ce/88f019b3dc5aad8a19bdd1432572f5351030c5dd76ab6ffa4e5040819e13/snowflake_cli_labs-2.3.0.tar.gz" + sha256 "aa4c12a7a174ad6be5d727e15b1e92a719b193be91f13f295d24e12741d8f117" depends_on "python3" @@ -13,7 +13,7 @@ def install venv.instance_variable_get(:@formula).system venv.instance_variable_get(:@venv_root)/"bin/python", "-m", "ensurepip", "--upgrade" venv.instance_variable_get(:@formula).system venv.instance_variable_get(:@venv_root)/"bin/python", - "-m", "pip", "install", "snowflake-cli-labs==2.2.0" + "-m", "pip", "install", "snowflake-cli-labs==2.3.0" bin.install_symlink "#{libexec}/bin/snow" => "snow" end diff --git a/Formula/snowflake-cli.rb b/Formula/snowflake-cli.rb index ac23d98..ceb8af1 100644 --- a/Formula/snowflake-cli.rb +++ b/Formula/snowflake-cli.rb @@ -2,8 +2,8 @@ class SnowflakeCli < Formula include Language::Python::Virtualenv desc "A CLI for Snowflake development" homepage "https://github.com/snowflake-labs/snowflake-cli" - url "https://files.pythonhosted.org/packages/bb/98/c2804ddaf7f8fca22641bdad572ed7678f405ba50bbe7bbf5e750c86be07/snowflake_cli_labs-2.2.0.tar.gz" - sha256 "9fb2c241b55db00bac267d2b6ba0d53440310f1ba9a78da97526617736d19f20" + url "https://files.pythonhosted.org/packages/9e/ce/88f019b3dc5aad8a19bdd1432572f5351030c5dd76ab6ffa4e5040819e13/snowflake_cli_labs-2.3.0.tar.gz" + sha256 "aa4c12a7a174ad6be5d727e15b1e92a719b193be91f13f295d24e12741d8f117" depends_on "python3" @@ -13,7 +13,7 @@ def install venv.instance_variable_get(:@formula).system venv.instance_variable_get(:@venv_root)/"bin/python", "-m", "ensurepip", "--upgrade" venv.instance_variable_get(:@formula).system venv.instance_variable_get(:@venv_root)/"bin/python", - "-m", "pip", "install", "snowflake-cli-labs==2.2.0" + "-m", "pip", "install", "snowflake-cli-labs==2.3.0" bin.install_symlink "#{libexec}/bin/snow" => "snow" end diff --git a/update.sh b/update.sh index 442b1a3..5d4d732 100644 --- a/update.sh +++ b/update.sh @@ -23,4 +23,5 @@ rm -rf "${ENV}" echo echo "Formula update done." +echo "git checkout -b bump-version-${VERSION}" echo "git commit -m 'Update formula to v${VERSION}'"