Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33
@@ -1148,7 +1148,7 @@ the files the build and its tests read, nor the workflow itself, in which case
|
|||||||
it's skipped. That build is the whole gate but the
|
it's skipped. That build is the whole gate but the
|
||||||
changelog check, which CI runs against the PR base — vet, complexity, format check
|
changelog check, which CI runs against the PR base — vet, complexity, format check
|
||||||
and tests — so run it locally before pushing. The lowest Go builds the `portable`
|
and tests — so run it locally before pushing. The lowest Go builds the `portable`
|
||||||
stage, all of that bar the format check:
|
stage, all of that bar the format check and the release tooling's tests:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker build . # latest
|
docker build . # latest
|
||||||
|
|||||||
@@ -47,9 +47,11 @@ def main() -> int:
|
|||||||
raise
|
raise
|
||||||
sha = os.environ["SHA"]
|
sha = os.environ["SHA"]
|
||||||
try:
|
try:
|
||||||
at = request(f"tags/{tag}")["commit"]["sha"]
|
at = request(f"git/ref/tags/{tag}")["object"]
|
||||||
if at != sha:
|
if at["type"] == "tag":
|
||||||
print(f"{tag} exists at {at}, not {sha}; the version is burnt, bump the heading", file=sys.stderr)
|
at = request(f"git/tags/{at['sha']}")["object"]
|
||||||
|
if at["sha"] != sha:
|
||||||
|
print(f"{tag} exists at {at['sha']}, not {sha}; the version is burnt, bump the heading", file=sys.stderr)
|
||||||
return 1
|
return 1
|
||||||
except urllib.error.HTTPError as e:
|
except urllib.error.HTTPError as e:
|
||||||
if e.code != 404:
|
if e.code != 404:
|
||||||
|
|||||||
Reference in New Issue
Block a user