supabase-postgres.git / summary / log / commit / refs
commit 092d9702ac7cffd8938f24fcbcd131b1aa470333
Author: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Date: Thu Sep 26 13:19:38 2024 +0000
fix(ci): respect postgresVersion input (#1237)
.github/workflows/publish-nix-pgupgrade-scripts.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/publish-nix-pgupgrade-scripts.yml b/.github/workflows/publish-nix-pgupgrade-scripts.yml
index 5d373ad8..eb5f7a75 100644
--- a/.github/workflows/publish-nix-pgupgrade-scripts.yml
+++ b/.github/workflows/publish-nix-pgupgrade-scripts.yml
@@ -72,6 +72,9 @@ jobs:
id: process_release_version
run: |
VERSION=$(grep 'postgres-version' common-nix.vars.pkr.hcl | sed -e 's/postgres-version = "\(.*\)"/\1/g')
+ if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
+ VERSION=${{ inputs.postgresVersion }}
+ fi
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Create a tarball containing pg_upgrade scripts
[parent: eea5ee0ff3d0]