-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow versioning non-published packages (#20)
This is needed, e.g. when app developers create a common package for their needs, but isn't meant to be published to pub.dev. Example workflow: https://github.com/Oberhauser-Dev/wrestling_scoreboard/actions/runs/11755620616/job/32750863728#step:4:258
- Loading branch information
Showing
4 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,19 +41,20 @@ steps: | |
There are a few parameters that can be set to customize the behavior of the | ||
action, they are all optional. | ||
| Parameter | Default | Description | | ||
|---------------------------|-----------------------|-----------------------------------------------------------| | ||
| melos-version | latest | The version of Melos to activate. | | ||
| run-bootstrap | true | Whether to run `melos bootstrap` after activating Melos. | | ||
| enforce-lockfile | false | Whether the versions in the lockfiles should be enforced. | | ||
| run-versioning | false | Whether packages should be versioned. | | ||
| run-versioning-prerelease | false | Whether packages should be versioned as a prerelease. | | ||
| publish-dry-run | false | Whether packages should be dry-run published. | | ||
| publish | false | Whether packages should be published to pub.dev. | | ||
| create-pr | false | Whether to create a PR with the changes made by Melos. | | ||
| tag | false | Whether tags for the packages should be created. | | ||
| git-email | [email protected] | The email to use when committing changes. | | ||
| git-name | Melos Action | The name to use when committing changes. | | ||
| Parameter | Default | Description | | ||
|---------------------------|-----------------------|------------------------------------------------------------------| | ||
| melos-version | latest | The version of Melos to activate. | | ||
| run-bootstrap | true | Whether to run `melos bootstrap` after activating Melos. | | ||
| enforce-lockfile | false | Whether the versions in the lockfiles should be enforced. | | ||
| run-versioning | false | Whether packages should be versioned. | | ||
| run-versioning-prerelease | false | Whether packages should be versioned as a prerelease. | | ||
| include-private | false | Whether to include or exclude packages with `publish_to: "none"` | | ||
| publish-dry-run | false | Whether packages should be dry-run published. | | ||
| publish | false | Whether packages should be published to pub.dev. | | ||
| create-pr | false | Whether to create a PR with the changes made by Melos. | | ||
| tag | false | Whether tags for the packages should be created. | | ||
| git-email | [email protected] | The email to use when committing changes. | | ||
| git-name | Melos Action | The name to use when committing changes. | | ||
To set a specific parameter you use the `with` keyword in your action, like in | ||
the example below. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters