Skip to content

Commit

Permalink
fix(ci): respect postgresVersion input (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
soedirgo authored and pcnc committed Oct 1, 2024
1 parent 1022585 commit b13bea9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-nix-pgupgrade-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b13bea9

Please sign in to comment.