supabase-postgres.git / summary / log / commit / refs
commit 5c10d2ace53fde5b105bb7025484958b0dfd9d77
Author: Div Arora <root@darora.com>
Commit: Div Arora <darora@users.noreply.github.com>
Date: Tue May 07 03:16:52 2024 +0000
fix: make workflow resilient to spurious newlines
.github/workflows/publish-pgupgrade-scripts.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/publish-pgupgrade-scripts.yml b/.github/workflows/publish-pgupgrade-scripts.yml
index 49a74f44..cde1ab3b 100644
--- a/.github/workflows/publish-pgupgrade-scripts.yml
+++ b/.github/workflows/publish-pgupgrade-scripts.yml
@@ -23,7 +23,7 @@ jobs:
- name: Grab release version
id: process_release_version
run: |
- VERSION=$(sed -e 's/postgres-version = "\(.*\)"/\1/g' common.vars.pkr.hcl)
+ VERSION=$(grep 'postgres-version' common.vars.pkr.hcl | sed -e 's/postgres-version = "\(.*\)"/\1/g')
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Create a tarball containing pg_upgrade scripts
[parent: 2c2caee72873]