diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-12 13:58:37 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-12 19:34:41 +0200 |
commit | c83e376bdd4801e10a879385c89054c7320440f8 (patch) | |
tree | 9c241502d40eb2dedd8940483216faefc898b586 /src | |
parent | 8706494827ad598d335a9369beecdd0ddfef0cee (diff) |
Fix: copy release artifact instead of renaming it
Because renaming does not work if there is a filesystem boundary.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/release.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/release.rs b/src/commands/release.rs index 40daf8e..2910810 100644 --- a/src/commands/release.rs +++ b/src/commands/release.rs @@ -163,7 +163,7 @@ async fn new_release( } // else !dest_path.exists() - tokio::fs::rename(art_path, dest_path) + tokio::fs::copy(art_path, dest_path) .await .map_err(Error::from) .map(|_| art) |