fix: macOS tar script, closes #53, #37 (#116)

This commit is contained in:
Lucas Fernandes Nogueira
2021-04-28 18:05:52 -03:00
committed by GitHub
parent a6a1e9fc25
commit 0eb61ed08a
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@@ -6,6 +6,8 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.DS_Store
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

View File

@@ -72,7 +72,7 @@ function run() {
let i = 0;
for (const artifact of artifacts) {
if (artifact.endsWith('.app')) {
yield action_core_1.execCommand(`tar -czf ${artifact}.tgz ${artifact}`, {
yield action_core_1.execCommand(`tar czf ${artifact}.tgz ${artifact}`, {
cwd: undefined
});
artifacts[i] += '.tgz';

View File

@@ -92,7 +92,7 @@ async function run(): Promise<void> {
let i = 0
for (const artifact of artifacts) {
if (artifact.endsWith('.app')) {
await execCommand(`tar -czf ${artifact}.tgz ${artifact}`, {
await execCommand(`tar czf ${artifact}.tgz ${artifact}`, {
cwd: undefined
})
artifacts[i] += '.tgz'