We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f2d5cf commit 934ea56Copy full SHA for 934ea56
src/main.rs
@@ -12,7 +12,7 @@ mod sign;
12
mod smoke_test;
13
14
use std::fs::{self, File, OpenOptions};
15
-use std::io::{Read, Write};
+use std::io::{Read, Seek, SeekFrom, Write};
16
use std::path::{Path, PathBuf};
17
use std::process::{Command, Output, Stdio};
18
use std::time::Duration;
@@ -712,6 +712,9 @@ impl Context {
712
Err(_) => ("--if-none-match", "*".to_string()),
713
};
714
715
+ // Append the new item at the end of the manifest.
716
+ manifest.seek(SeekFrom::End(0))?;
717
+
718
let upload_addr = self
719
.config
720
.upload_addr
0 commit comments