Release: exclude pinned tools checkout from source dirtiness
Modular container CI / release-build (push) Has been cancelled
Modular container CI / release-build (push) Has been cancelled
This commit is contained in:
2 files changed
+23
-1
No files matched your search
@@ -146,7 +146,16 @@ def main() -> int:
|
||||
fail("cmakeOptions must be an object")
|
||||
|
||||
repository = arguments.repository.resolve(strict=True)
|
||||
if git(repository, "status", "--porcelain"):
|
||||
if git(
|
||||
repository,
|
||||
"status",
|
||||
"--porcelain",
|
||||
"--untracked-files=all",
|
||||
"--",
|
||||
".",
|
||||
":(exclude).echoion-release-tools",
|
||||
":(exclude).echoion-release-tools/**",
|
||||
):
|
||||
fail("component repository must be clean")
|
||||
source_sha = git(repository, "rev-parse", "HEAD")
|
||||
source_tree = git(repository, "rev-parse", "HEAD^{tree}")
|
||||
|
||||
Reference in new issue
Block a user