Skip to content

Commit b3d5efe

Browse files
committed
chore: fix script
1 parent bdfc005 commit b3d5efe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- develop
77
- release/*
8+
- pcnc/*
89
paths:
910
- '.github/workflows/publish-nix-pgupgrade-scripts.yml'
1011
workflow_dispatch:
@@ -84,7 +85,6 @@ jobs:
8485
publish-prod:
8586
needs: prepare
8687
runs-on: ubuntu-latest
87-
if: github.ref_name == 'develop' || contains( github.ref, 'release' )
8888

8989
strategy:
9090
matrix:
@@ -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)