Skip to content

Commit

Permalink
Update formula to v2.3.0 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-turbaszek authored May 15, 2024
1 parent 9752e5a commit 2a8643c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Formula/snowcli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions Formula/snowflake-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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

Expand Down
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}'"

0 comments on commit 2a8643c

Please sign in to comment.