fix(release): preserve tags when publishing draft releases

Upgrade github-script to v8 and pass the release tag and target commit when creating and publishing releases.
This commit is contained in:
Andras Bacsai
2026-08-12 12:02:37 +02:00
parent 8264129f03
commit decf6c7a9a
2 changed files with 8 additions and 2 deletions
@@ -41,6 +41,9 @@ it('requires a reviewed draft release before building a stable version', functio
->toContain('release.body?.trim()')
->toContain('bootstrap/getVersion.php')
->toContain('target_commitish: context.sha')
->toContain('tag_name: process.env.TAG_NAME')
->toContain('actions/github-script@v8')
->not->toContain('actions/github-script@v7')
->not->toContain('generate-notes');
});