Skip to content

Commit 081ae3b

Browse files
committed
fix suffix parsing for staging releases
1 parent 004595d commit 081ae3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ami-release-nix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Run checks if triggered manually
5656
if: ${{ github.event_name == 'workflow_dispatch' }}
5757
run: |
58-
SUFFIX=$(sudo nix run nixpkgs#yq -- '.postgres_release["postgres${{ matrix.postgres_version }}"]' ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
58+
SUFFIX=$(sudo nix run nixpkgs#yq -- ".postgres_release[\"postgres${{ matrix.postgres_version }}\"]" ansible/vars.yml | sed -E 's/[0-9\.]+(.*)$/\1/')
5959
if [[ -z $SUFFIX ]] ; then
6060
echo "Version must include non-numeric characters if built manually."
6161
exit 1

0 commit comments

Comments
 (0)