File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 42
42
id : process_release_version
43
43
run : |
44
44
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
46
46
if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
47
47
VERSION=${{ inputs.postgresVersion }}
48
48
fi
92
92
id : process_release_version
93
93
run : |
94
94
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
96
96
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
97
97
echo "major_version=$(echo $VERSION | cut -d'.' -f1)" >> "$GITHUB_OUTPUT"
98
98
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
id : process_release_version
102
102
run : |
103
103
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
105
105
if [[ "${{ inputs.postgresVersion }}" != "" ]]; then
106
106
VERSION=${{ inputs.postgresVersion }}
107
107
fi
You can’t perform that action at this time.
0 commit comments