File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 79
79
80
80
- name : Generate common-nix.vars.pkr.hcl
81
81
run : |
82
- # For orioledb versions, we need to handle the version lookup differently
83
- if [[ "${{ matrix.version }}" == "orioledb-"* ]]; then
84
- MAJOR_VERSION="${{ matrix.version #orioledb-}}"
85
- PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres'$MAJOR_VERSION'_orioledb"]' ansible/vars.yml)
86
- else
87
- PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.version }}"]' ansible/vars.yml)
88
- fi
89
-
82
+ PG_VERSION=$(nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.version }}"]' ansible/vars.yml)
90
83
PG_VERSION=$(echo $PG_VERSION | tr -d '"') # Remove any surrounding quotes
91
84
echo 'postgres-version = "'$PG_VERSION'"' > common-nix.vars.pkr.hcl
92
85
# Ensure there's a newline at the end of the file
You can’t perform that action at this time.
0 commit comments