mirror of
https://github.com/naveenrajm7/rpmbuild.git
synced 2025-07-12 12:13:51 +00:00
$HOME /github/home/
This commit is contained in:
@ -31,7 +31,7 @@ function run() {
|
|||||||
// Get tar.gz file of release
|
// Get tar.gz file of release
|
||||||
yield download_tar(owner, repo, ref).then(function (filePath) {
|
yield download_tar(owner, repo, ref).then(function (filePath) {
|
||||||
console.log(`Tar Path for copy : ${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) {
|
}).catch(function (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
|
@ -32,7 +32,7 @@ async function run() {
|
|||||||
ref
|
ref
|
||||||
).then( function(filePath){
|
).then( function(filePath){
|
||||||
console.log(`Tar Path for copy : ${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){
|
}).catch(function(error){
|
||||||
console.log(error);
|
console.log(error);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user