Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update formula to v2.3.0 #26

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}'"