We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7106834 commit 5da322dCopy full SHA for 5da322d
build/copyjar.ps1
@@ -35,14 +35,9 @@ foreach($file in $files)
35
write-output "Name of the file to copy: $sourceFileName"
36
}
37
38
-#uber-jar has the name from pom.xml - this is the name we want to use
39
-$files = get-childitem $configPath -filter "spark*"
40
-#only one file in $files
41
-foreach($file in $files)
42
-{
43
- $destFileName = $file.Name
44
- write-output "Name of the file to use in destination: $destFileName"
45
-}
+$pattern = "^original-(.*)"
+$destFileName = $sourceFileName -replace $pattern,'$1'
+write-output "Name of the file to use in destination: $destFileName"
46
47
copy-item $sourceFileName -Destination "$destDir\$destFileName"
48
popd
0 commit comments