Added createGithubReleases input option (defaults to true) to control whether to create Github releases during publish or not (#130)

* allow skipping creation of Github releases

* fixes for PR review

* minor improvements

* add changeset

* nits

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
This commit is contained in:
An Phi
2022-01-23 11:07:42 +01:00
committed by GitHub
co-authored by Mateusz Burzyński
parent f4afbea27e
commit 5c0997b25e
4 changed files with 28 additions and 12 deletions
+1
View File
@@ -78,6 +78,7 @@ const getOptionalInput = (name: string) => core.getInput(name) || undefined;
const result = await runPublish({
script: publishScript,
githubToken,
createGithubReleases: core.getBooleanInput("createGithubReleases"),
});
if (result.published) {