main: use git-deborig (#37)
This commit is contained in:
parent
fb3670aed9
commit
3c531250ab
27
main.js
27
main.js
|
@ -103,22 +103,6 @@ async function main() {
|
||||||
])
|
])
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
|
|
||||||
if (revision) {
|
|
||||||
core.startGroup("Create tarball")
|
|
||||||
await exec.exec("docker", [
|
|
||||||
"exec",
|
|
||||||
container,
|
|
||||||
"tar",
|
|
||||||
"--exclude-vcs",
|
|
||||||
"--exclude", "./debian",
|
|
||||||
"--transform", `s/^\./${pkg}-${version}/S`,
|
|
||||||
"-cvzf", `${buildDirectory}/${pkg}_${version}.orig.tar.gz`,
|
|
||||||
"-C", sourceDirectory,
|
|
||||||
"./"
|
|
||||||
])
|
|
||||||
core.endGroup()
|
|
||||||
}
|
|
||||||
|
|
||||||
core.startGroup("Update packages list")
|
core.startGroup("Update packages list")
|
||||||
await exec.exec("docker", [
|
await exec.exec("docker", [
|
||||||
"exec",
|
"exec",
|
||||||
|
@ -145,6 +129,17 @@ async function main() {
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (revision) {
|
||||||
|
core.startGroup("Create tarball")
|
||||||
|
await exec.exec("docker", [
|
||||||
|
"exec",
|
||||||
|
container,
|
||||||
|
"git-deborig",
|
||||||
|
"HEAD"
|
||||||
|
])
|
||||||
|
core.endGroup()
|
||||||
|
}
|
||||||
|
|
||||||
core.startGroup("Build packages")
|
core.startGroup("Build packages")
|
||||||
await exec.exec("docker", [
|
await exec.exec("docker", [
|
||||||
"exec",
|
"exec",
|
||||||
|
|
Loading…
Reference in a new issue