googleapis / googleapis/release-please
How to run release-please to update version strings only?
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 588
- Avg merge
- 12h 16m
- Merged PRs (30d)
- 7
Description
I would like to be able to run a command via the release-please GitHub action that when run will only update the version references as informed by the release-type and extra-files configured in the manifest file (or otherwise). Additionally, my goal is for no GitHub release creation, Pull Request creation, or Changelog edits to occur when running this "version string updates only" command.
Is there any such command or functionality that allows for leveraging release-please to perform only this subset of what is accomplished with the `manifest` command?
The use-case case for this is to publish "prerelease" version of a package anytime a commit lands on a specific branch (via GitHub actions). Each and every commit should be published to GitHub so that they can be installed and tested elsewhere. Because these are "in development" version of the packages, the full feature set of creating a GitHub release + PR is not necessary.
As an example; if I were to push to my branch `feature/my-feature` then a GitHub action would run with the intention of updating the version in package.json (as well as elsewhere) to `1.13.2-feature-my-feature.1234`. The `1.13.2-feature-my-feature.1234` value would be computed in the GitHub action itself and release-please informed via `release-as` configuration. Once release-please updated the package.json (and other files), we would publish the package without needing a release PR or release on GitHub.
Contributor guide
Assessment
This issue has not been assessed yet.