Skip to content

feat: Add a script to manage version updates#84

Merged
chengfang-blutui merged 4 commits intomainfrom
feat-update-version
Sep 10, 2024
Merged

feat: Add a script to manage version updates#84
chengfang-blutui merged 4 commits intomainfrom
feat-update-version

Conversation

@jayan-blutui
Copy link
Copy Markdown
Member

This PR introduces a script update-version to handle SDK versioning. Running the update-version npm script will automatically apply a change to the appropriate files based on the desired version.

For example the following script will update the appropriate files to create a patch. Version 1.0.0 would become 1.0.1:

npm run update-version -- --patch

Similarly adding the --minor argument would update the version from 1.0.0 to 1.1.0:

npm run update-version -- --minor

For a major release, adding the --major argument would update the version from 1.0.0 to 2.0.0:

npm run update-version -- --major

@jayan-blutui jayan-blutui added the enhancement New feature or request label Sep 9, 2024
Co-authored-by: Michael Liu <162056370+chengfang-blutui@users.noreply.github.com>
@chengfang-blutui chengfang-blutui merged commit 148924e into main Sep 10, 2024
@chengfang-blutui chengfang-blutui deleted the feat-update-version branch September 10, 2024 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants