Skip to content

Commit

Permalink
Limited release script to only draft releases
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
geky committed Apr 17, 2024
1 parent 68d28b5 commit 93ecd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

0 comments on commit 93ecd2f

Please sign in to comment.