File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 echo "Only the reviewed brews deprecation is allowed" >&2
6464 exit 1
6565 fi
66+
67+ - name : Verify recovery-safe Homebrew source URL
68+ shell : bash
69+ env :
70+ EXPECTED_BREW_URL : ' url_template: "https://github.com/${{ github.repository }}/releases/download/{{ .Tag }}/{{ .ArtifactName }}"'
71+ run : |
72+ set -euo pipefail
73+
74+ matches="$(grep -Fxc "$EXPECTED_BREW_URL" .goreleaser.yaml || true)"
75+ if [[ "$matches" -ne 1 ]]; then
76+ echo "Expected exactly one recovery-safe Homebrew url_template" >&2
77+ exit 1
78+ fi
Original file line number Diff line number Diff line change 4545 - name : sitectl-drupal
4646 description : " A sitectl plugin for Drupal websites"
4747 homepage : " https://github.com/libops/sitectl-drupal"
48+ url_template : " https://github.com/libops/sitectl-drupal/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
4849 license : MIT
4950 commit_author :
5051 name : sitectl-dev[bot]
You can’t perform that action at this time.
0 commit comments