Commit 159e46def18af377d93bbf05348342b8bccdc1e5
1 parent
d416f928
Exists in
master
and in
15 other branches
noosfero:upload_packages: avoid reuploading when interrupted
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/release.rake
... | ... | @@ -124,7 +124,7 @@ EOF |
124 | 124 | source = Dir['pkg/noosfero-*.tar.gz'].first |
125 | 125 | sh "gpg --detach-sign #{source}" |
126 | 126 | sh "sha256sum #{source} > #{source}.sha256sum" |
127 | - sh "scp #{source}* download.noosfero.org:repos/source/" | |
127 | + sh "rsync -avp #{source}* download.noosfero.org:repos/source/" | |
128 | 128 | sh "dput --unchecked noosfero-#{target} #{Dir['pkg/*.changes'].first}" |
129 | 129 | end |
130 | 130 | ... | ... |