Next, I’m hoping to push release notes to GitHub which the version command does. lerna publish from-package does everything I want except the tagging. I’m trying to setup my project such that it publishes unpublished packages from CI on each commit to master. Then we could just run the version command with the same version to utilize the other commands, such as GitHub releases and tagging. I may be able to submit a PR with this after next week.Īnother option would be to have the publish command optionally write the published packages to a structured file (json). Possible SolutionĪdd a -git-tag-version option to the publish from-package command, which tag the commit. lerna publish from-package publishes but does not tag the commit. It tags the commit with the versions published at that commit. Lerna version always changes the version unless you run in interactive mode and reset it to the same version.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |