Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Fix workflow failure for commit messages with single ' (#6725)
Adamee3a27bb3d63
diff --git a/.github/workflows/build-private-images-ghcr.yml b/.github/workflows/build-private-images-ghcr.ymlindex ad17e9fc25..15434ade8c 100644--- a/.github/workflows/build-private-images-ghcr.yml+++ b/.github/workflows/build-private-images-ghcr.yml@@ -75,8 +75,9 @@ jobs:env:COMMIT_MSG: ${{ github.event.head_commit.message }}run: |- first_line=$(printf '%s\n' "$COMMIT_MSG" | head -n1 | xargs)- co_authors=$(printf '%s\n' "$COMMIT_MSG" | grep -h 'Co-authored-by:' | sort -u | cut -d: -f2- | paste -sd, - | xargs)+ trim() { sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'; }+ first_line=$(printf '%s\n' "$COMMIT_MSG" | head -n1 | trim)+ co_authors=$(printf '%s\n' "$COMMIT_MSG" | grep -h 'Co-authored-by:' | sort -u | cut -d: -f2- | paste -sd, - | trim){echo "first_line=$first_line"echo "co_authors=$co_authors"