File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -16,15 +16,18 @@ docker_curl() {
1616}
1717
1818if [[ $WAL2JSON_VERSION == " latest" ]]; then
19- VERSION=$(
20- docker_curl https://api.github.com/repos/getsentry/wal2json/releases/latest |
21- grep ' "tag_name":' |
22- sed -E ' s/.*"([^"]+)".*/\1/'
23- )
24- if [[ ! $VERSION ]]; then
25- echo " Cannot find wal2json latest version"
26- exit 1
27- fi
19+ # Hard-code this. Super-hacky. We were curling the GitHub API here but
20+ # hitting rate limits in CI. This library hasn't seen a new release for a
21+ # year and a half at time of writing.
22+ #
23+ # If you're reading this do us a favor and go check:
24+ #
25+ # https://github.com/getsentry/wal2json/releases
26+ #
27+ # If there's a new release can you update this please? If not maybe subscribe
28+ # for notifications on the repo with "Watch > Custom > Releases". Together we
29+ # can make a difference.
30+ VERSION=0.0.2
2831else
2932 VERSION=$WAL2JSON_VERSION
3033fi
You can’t perform that action at this time.
0 commit comments