Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/publish.rs')
| -rw-r--r-- | xtask/src/publish.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/publish.rs b/xtask/src/publish.rs index 42b384ead0..7faae9b20c 100644 --- a/xtask/src/publish.rs +++ b/xtask/src/publish.rs @@ -79,6 +79,7 @@ fn update_release(sh: &Shell, tag_name: &str, release_notes: &str) -> anyhow::Re let release_id = cmd!(sh, "jq .id").stdin(release_json).read()?; let mut patch = String::new(); + // note: the GitHub API doesn't update the target commit if the tag already exists write_json::object(&mut patch) .string("tag_name", tag_name) .string("target_commitish", "master") |