Merge pull request #73 from dawidd6/tar-orig

main: use tar for upstream orig archive generation
This commit is contained in:
Dawid Dziurla 2023-03-06 10:02:14 +01:00 committed by GitHub
commit 4fd2008fd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -15,7 +15,7 @@ jobs:
- package: at
arch: arm
repo: https://salsa.debian.org/debian/at.git
ref: debian/3.1.23-1
ref: debian/3.2.2-1
lintian_opts: "-v"
lintian_run: false
- package: lolcat

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()
}