From 948bc956e0dbc6a40e1163a1dd1cbef638c8b4dc Mon Sep 17 00:00:00 2001 From: Vicky Vergara Date: Mon, 18 Mar 2024 13:00:52 -0600 Subject: [PATCH 1/2] (CI) fixing postgres version --- .github/workflows/ubuntu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index c1c50252..224e1ece 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -16,7 +16,7 @@ jobs: - name: Get postgres version run: | sudo service postgresql start - pgver=$(psql --version | grep -Po '(?<=psql \(PostgreSQL\) )[^;]+(?=\.\d \()') + pgver=$(psql --version | grep -Po '(?<=psql \(PostgreSQL\) )[^;]+(?=\.\d+ \()') echo "PGVER=${pgver}" >> $GITHUB_ENV echo "PGIS=3" >> $GITHUB_ENV From 0c7b161d966cc74f22b9bc80b31639e06d60f0d8 Mon Sep 17 00:00:00 2001 From: Vicky Vergara Date: Mon, 18 Mar 2024 13:26:09 -0600 Subject: [PATCH 2/2] (CI) fixing postgres version --- .github/workflows/locale-and-website.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/locale-and-website.yml b/.github/workflows/locale-and-website.yml index 1e3e9fe0..81c2660e 100644 --- a/.github/workflows/locale-and-website.yml +++ b/.github/workflows/locale-and-website.yml @@ -24,7 +24,7 @@ jobs: - name: Get postgres version run: | sudo service postgresql start - pgver=$(psql --version | grep -Po '(?<=psql \(PostgreSQL\) )[^;]+(?=\.\d \()') + pgver=$(psql --version | grep -Po '(?<=psql \(PostgreSQL\) )[^;]+(?=\.\d+ \()') echo "PGVER=${pgver}" >> $GITHUB_ENV echo "PGIS=3" >> $GITHUB_ENV