Update pubspec version
ActionsTags
(2)This action updates the version in pubspec.yaml file. It allows for incrementing the build number or the version by a major, minor or patch version.
Input | Description | Required | Default |
---|---|---|---|
strategy |
The versioning strategy. Can be major , minor , patch , or none . |
false | none |
bump-build |
Whether to bump the build number. | false | false |
path |
The path to the pubspec.yaml file. |
false | ./pubspec.yaml |
The old version of the project.
The new version of the project.
uses: stikkyapp/update-pubspec-version@v2
with:
strategy: 'patch'
bump-build: true
path: './pubspec.yaml'
Update pubspec version is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.