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