From e049dc847d55309dd5b37989b15557a4044973c9 Mon Sep 17 00:00:00 2001 From: Naveenraj M Date: Sun, 29 Mar 2020 22:32:28 +0530 Subject: [PATCH] $HOME /github/home/ --- lib/main.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.js b/lib/main.js index 239f9a7..8d81ead 100644 --- a/lib/main.js +++ b/lib/main.js @@ -31,7 +31,7 @@ function run() { // Get tar.gz file of release yield download_tar(owner, repo, ref).then(function (filePath) { console.log(`Tar Path for copy : ${filePath}`); - io.cp(`${repo}-1.0.tar.gz`, '/root/rpmbuild/SOURCES'); + io.cp(`${repo}-1.0.tar.gz`, '/github/home/rpmbuild/SOURCES/'); }).catch(function (error) { console.log(error); }); diff --git a/src/main.ts b/src/main.ts index 1ca85f1..998dfec 100644 --- a/src/main.ts +++ b/src/main.ts @@ -32,7 +32,7 @@ async function run() { ref ).then( function(filePath){ console.log(`Tar Path for copy : ${filePath}`); - io.cp(`${repo}-1.0.tar.gz`, '/root/rpmbuild/SOURCES'); + io.cp(`${repo}-1.0.tar.gz`, '/github/home/rpmbuild/SOURCES/'); }).catch(function(error){ console.log(error); });