Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
eeb99bdd
Commit
eeb99bdd
authored
Jun 12, 2018
by
Steve Dower
Committed by
GitHub
Jun 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes upload script to always run commands even when previous ones fail (GH-7670)
parent
4a172ccc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
Tools/msi/uploadrelease.ps1
Tools/msi/uploadrelease.ps1
+10
-4
No files found.
Tools/msi/uploadrelease.ps1
View file @
eeb99bdd
...
...
@@ -70,7 +70,9 @@ if (-not $skipupload) {
popd
$d
=
"
$target
/
$(
$p
[
0
]
)
/"
&
$plink
-batch
$user
@
$server
mkdir
$d
"&&"
chgrp
downloads
$d
"&&"
chmod
g-x
,
o
+
rx
$d
&
$plink
-batch
$user
@
$server
mkdir
$d
&
$plink
-batch
$user
@
$server
chgrp
downloads
$d
&
$plink
-batch
$user
@
$server
chmod
g-x
,
o
+
rx
$d
&
$pscp
-batch
$doc
.
FullName
"
$user
@
${server}
:
$d
"
foreach
(
$a
in
gci
"
$build
"
-Directory
)
{
...
...
@@ -83,12 +85,16 @@ if (-not $skipupload) {
&
$pscp
-batch
$exe
.FullName "
$user
@
${server}
:
$d
"
$sd
= "
$d
$
(
$a
.
Name
)
$
(
$p
[
1
]
)
/"
&
$plink
-batch
$user
@
$server
mkdir
$sd
"&&"
chgrp
downloads
$sd
"&&"
chmod
g-x
,
o
+
rx
$sd
&
$plink
-batch
$user
@
$server
mkdir
$sd
&
$plink
-batch
$user
@
$server
chgrp
downloads
$sd
&
$plink
-batch
$user
@
$server
chmod
g-x
,
o
+
rx
$sd
&
$pscp
-batch
$msi
.
FullName
"
$user
@
${server}
:
$sd
"
&
$plink
-batch
$user
@
$server
chgrp
downloads
$sd
*
"&&"
chmod
g-x
,
o
+
rx
$sd
*
&
$plink
-batch
$user
@
$server
chgrp
downloads
$sd
*
&
$plink
-batch
$user
@
$server
chmod
g-x
,
o
+
r
$sd
*
}
&
$plink
-batch
$user
@
$server
chgrp
downloads
$d
*
"&&"
chmod
g-x
,
o
+
rx
$d
*
&
$plink
-batch
$user
@
$server
chgrp
downloads
$d
*
&
$plink
-batch
$user
@
$server
chmod
g-x
,
o
+
r
$d
*
}
if
(
-not
$skippurge
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment