Skip to content

Add new version command #11

@allanchau

Description

@allanchau

Add a new version command c project version.

Ideas:

  • Before updating, this should prompt the user if there are uncommitted changes There are uncommitted changes in this project, do you wish to continue? with No being the default.
  • Another prompt should follow the yarn version command
$ c project version
question There are uncommitted changes in this project, do you wish to continue? Yes
info Current version: 1.0.0-alpha.12
question New version: 1.0.1
info New version: 1.0.1
  • Changing the version will automatically update all version.json, package.json files, create a commit Version bump to vX.X.X, and create a tag git tag -a vX.X.X -m "Tagging release vX.X.X"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions