projects
/
rup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check the size of the message before decrypting it.
[rup.git]
/
deploy.ps1
diff --git
a/deploy.ps1
b/deploy.ps1
index
219d4ee
..
31b5a82
100755
(executable)
--- a/
deploy.ps1
+++ b/
deploy.ps1
@@
-1,6
+1,6
@@
if ($args.Count -lt 1) {
$scriptName = [Environment]::GetCommandLineArgs()[1]
if ($args.Count -lt 1) {
$scriptName = [Environment]::GetCommandLineArgs()[1]
-
echo
"Usage: $scriptName <destination>"
+
Write-Output
"Usage: $scriptName <destination>"
exit 1
}
exit 1
}
@@
-16,6
+16,7
@@
if (!(Test-Path -Path $destination)) {
New-Item -ItemType directory -Path $destination
}
New-Item -ItemType directory -Path $destination
}
+strip target/release/rup # To reduce the executable size.
Copy-Item target/release/rup -Destination $destination
Copy-Item key.secret -Destination $destination
Copy-Item target/release/rup -Destination $destination
Copy-Item key.secret -Destination $destination