Loading ci/release.py +2 −0 Changes for ci/release.py: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ def verify_release(): check_tag(os.getenv("CI_COMMIT_TAG", ""), version, os.getenv("CI_COMMIT_REF_PROTECTED")) if manifest["source_sha"] != os.environ["CI_COMMIT_SHA"]: raise ValueError("Build and tag source revisions differ") # Tag pipelines may fetch only a detached tag; refresh the allowed ancestry refs. subprocess.run(["git", "fetch", "origin", "+refs/heads/*:refs/remotes/origin/*"], check=True) branches = ["origin/develop", "origin/main", "origin/refactor/tfsdk-architecture-alignment"] if not any( subprocess.run( Loading Loading
ci/release.py +2 −0 Changes for ci/release.py: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ def verify_release(): check_tag(os.getenv("CI_COMMIT_TAG", ""), version, os.getenv("CI_COMMIT_REF_PROTECTED")) if manifest["source_sha"] != os.environ["CI_COMMIT_SHA"]: raise ValueError("Build and tag source revisions differ") # Tag pipelines may fetch only a detached tag; refresh the allowed ancestry refs. subprocess.run(["git", "fetch", "origin", "+refs/heads/*:refs/remotes/origin/*"], check=True) branches = ["origin/develop", "origin/main", "origin/refactor/tfsdk-architecture-alignment"] if not any( subprocess.run( Loading