File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1+ # shellcheck disable
12name : bump risingwave
23on :
34 workflow_dispatch :
5758 tap_dir="$(brew --repo "$TAP")"
5859 formula_path="$tap_dir/Formula/risingwave.rb"
5960
61+ # shellcheck disable=SC2016 # $1 is for Ruby regex capture, not shell expansion.
6062 current_tag="$(ruby -ne 'if $_ =~ %r{^\\s*url\\s+\"https://github\\.com/risingwavelabs/risingwave/archive/refs/tags/(v[^\\\"]+)\\.tar\\.gz\"\\s*$}; puts $1; exit; end' "$formula_path" || true)"
6163 if [[ -n "$current_tag" && "$current_tag" == "$RW_TAG" ]]; then
6264 echo "Formula already at latest ($current_tag); nothing to do."
8183 tmp="$(mktemp -d)"
8284 trap 'rm -rf "$tmp"' EXIT
8385 curl -fsSL "$connector_url" -o "$tmp/connector.tgz"
86+ # shellcheck disable=SC2016 # $1 is for awk field, not shell expansion.
8487 connector_sha="$(sha256sum "$tmp/connector.tgz" | awk '{print $1}')"
8588 echo "Connector sha256: $connector_sha"
8689
You can’t perform that action at this time.
0 commit comments