Skip to content

Commit c83b1c6

Browse files
soedirgopcnc
authored andcommitted
fix(ci): respect postgresVersion input (#1237)
1 parent 549f9eb commit c83b1c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/publish-nix-pgupgrade-scripts.yml

+3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ jobs:
7272
id: process_release_version
7373
run: |
7474
VERSION=$(grep 'postgres-version' common-nix.vars.pkr.hcl | sed -e 's/postgres-version = "\(.*\)"/\1/g')
75+
if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
76+
VERSION=${{ inputs.postgresVersion }}
77+
fi
7578
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
7679
7780
- name: Create a tarball containing pg_upgrade scripts

0 commit comments

Comments
 (0)