main: use tar for upstream orig archive generation

This commit is contained in:
Dawid Dziurla 2023-03-06 09:32:00 +01:00 committed by GitHub
parent 19ce78f0f9
commit cfbfc87fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
main.js
View file

@ -183,8 +183,14 @@ async function main() {
await exec.exec("docker", [
"exec",
container,
"git-deborig",
"HEAD"
"tar",
"--exclude-vcs",
"--exclude=debian",
"--create",
"--gzip",
"--verbose",
`--file=../${pkg}_${version}.orig.tar.gz`,
"."
])
core.endGroup()
}