summaryrefslogtreecommitdiffstats
path: root/src/commands/build.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-03-01 10:16:42 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-03-01 17:42:26 +0100
commit2d72cbed2495517dba84ec4d46e5f521ff46412b (patch)
tree6a0457bee61f0fb30e49ca3e8cdd1953399e83e9 /src/commands/build.rs
parent6387e8f333aa9f5b65a5ebb8ce3d8ebeaa0fa58c (diff)
Add feature to pass git author and git commit information to container
This patch implements the feature to be able to pass author and commit hash information from the repository to the container. This can be used to set packager or package description commit hash inside the build container, if desired. Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/commands/build.rs')
-rw-r--r--src/commands/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/build.rs b/src/commands/build.rs
index 4474d4e..85697d6 100644
--- a/src/commands/build.rs
+++ b/src/commands/build.rs
@@ -343,6 +343,7 @@ pub async fn build(
})
.jobdag(jobdag)
.config(config)
+ .repository(git_repo)
.build()
.setup()
.await?;