main: tar change directory
This commit is contained in:
parent
25ee9fdc80
commit
77636126b4
5
main.js
5
main.js
|
@ -66,9 +66,10 @@ async function main() {
|
||||||
"tar",
|
"tar",
|
||||||
"--exclude-vcs",
|
"--exclude-vcs",
|
||||||
"--exclude", "./debian",
|
"--exclude", "./debian",
|
||||||
"--transform", `s;^${sourceDirectory};${package}-${version};`,
|
"--transform", `s/^\./${package}-${version}/`,
|
||||||
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
|
"-cvzf", `${buildDirectory}/${package}_${version}.orig.tar.gz`,
|
||||||
sourceDirectory
|
"-C", sourceDirectory,
|
||||||
|
"./"
|
||||||
])
|
])
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue