8000 fix: make workflow resilient to spurious newlines · berttoli/postgres@5c10d2a · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c10d2a

Browse files
committed
fix: make workflow resilient to spurious newlines
1 parent 2c2caee commit 5c10d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-pgupgrade-scripts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Grab release version
2424
id: process_release_version
2525
run: |
26-
VERSION=$(sed -e 's/postgres-version = "\(.*\)"/\1/g' common.vars.pkr.hcl)
26+
VERSION=$(grep 'postgres-version' common.vars.pkr.hcl | sed -e 's/postgres-version = "\(.*\)"/\1/g')
2727
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
2828
2929
- name: Create a tarball containing pg_upgrade scripts

0 commit comments

Comments
 (0)
0