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