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

neon-*: add build from head option #37

Merged
merged 4 commits into from
Sep 13, 2023
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
1 change: 1 addition & 0 deletions Formula/neon-extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class NeonExtension < Formula
tag: "release-3836",
revision: "07d7874bc88cc83a8b57c8d9508674277008a623"
license "Apache-2.0"
head "https://github.com/neondatabase/neon.git", branch: "main"

bottle do
root_url "https://ghcr.io/v2/bayandin/tap"
Expand Down
1 change: 1 addition & 0 deletions Formula/neon-local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class NeonLocal < Formula
tag: "release-3836",
revision: "07d7874bc88cc83a8b57c8d9508674277008a623"
license "Apache-2.0"
head "https://github.com/neondatabase/neon.git", branch: "main"

bottle do
root_url "https://ghcr.io/v2/bayandin/tap"
Expand Down
1 change: 1 addition & 0 deletions Formula/neon-postgres.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class NeonPostgres < Formula
tag: "release-3836",
revision: "07d7874bc88cc83a8b57c8d9508674277008a623"
license "Apache-2.0"
head "https://github.com/neondatabase/neon.git", branch: "main"

bottle do
root_url "https://ghcr.io/v2/bayandin/tap"
Expand Down
3 changes: 2 additions & 1 deletion Formula/neon-storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class NeonStorage < Formula
tag: "release-3836",
revision: "07d7874bc88cc83a8b57c8d9508674277008a623"
license "Apache-2.0"
head "https://github.com/neondatabase/neon.git", branch: "main"

bottle do
root_url "https://ghcr.io/v2/bayandin/tap"
Expand All @@ -31,7 +32,7 @@ def neon_postgres
end

def install
ENV["BUILD_TAG"] = "release-#{version}"
ENV["BUILD_TAG"] = build.stable? ? "release-#{version}" : "dev-#{Utils.git_short_head}"
ENV["GIT_VERSION"] = Utils.git_head

with_env(POSTGRES_INSTALL_DIR: neon_postgres.opt_libexec) do
Expand Down