Limited release script to only draft releases

We probably always want a human involved in the final step of publishing
a release. 1. To allow editing of the release notes before notifying
users, and 2. to avoid any issues with rogue scripts (who doesn't want
1000 release notifications?).

Especially now that releases may trigger additional post-release
scripts.
This commit is contained in:
Christopher Haster
2024-04-17 12:43:33 -05:00
parent 68d28b5114
commit 93ecd2f2c1

View File

@@ -254,7 +254,7 @@ jobs:
tag_name: env.LFS_VERSION,
name: env.LFS_VERSION | rtrimstr(".0"),
target_commitish: "${{github.event.workflow_run.head_sha}}",
draft: env.LFS_VERSION | endswith(".0"),
draft: true,
body: $release,
}' | tee /dev/stderr)"