8000 fix: upgrade script workflow (#1375) · hscmgroup/postgres@047a2d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 047a2d7

Browse files
authored
fix: upgrade script workflow (supabase#1375)
1 parent e73b260 commit 047a2d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish-nix-pgupgrade-bin-flake-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
id: process_release_version
4343
run: |
4444
VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
45-
VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
45+
VERSION=$(echo $VERSION | tr -d '"') # Remove any surrounding quotes
4646
if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
4747
VERSION=${{ inputs.postgresVersion }}
4848
fi
@@ -92,7 +92,7 @@ jobs:
9292
id: process_release_version
9393
run: |
9494
VERSION=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
95-
VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
95+
VERSION=$(echo $VERSION | tr -d '"') # Remove any surrounding quotes
9696
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
9797
echo "major_version=$(echo $VERSION | cut -d'.' -f1)" >> "$GITHUB_OUTPUT"
9898

.github/workflows/publish-nix-pgupgrade-scripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
id: process_release_version
102102
run: |
103103
VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'${{ matrix.postgres_version }}'"]' ansible/vars.yml)
104-
VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
104+
VERSION=$(echo $VERSION | tr -d '"') # Remove any surrounding quotes
105105
if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
106106
VERSION=${{ inputs.postgresVersion }}
107107
fi

0 commit comments

Comments
 (0)
0