Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add ability to add Version manually #3

Merged
merged 3 commits into from
Sep 7, 2020

Conversation

andreieuganox
Copy link
Contributor

User Story
As a developer I want to be able to define the Version manually.

Background
If for example you use CLI on CI level, you probably use Semantic Release (https://www.npmjs.com/package/semantic-release) to define the Versions of the Application. In this case, the versions created by react-native-cli-bump-version and Semantic Release will be different. To be able to use it with SR it will be good to add additional parameter to this CLI.

P.S. The changes were not tested tbh...sorry for that!
P.S.S. Thank you for your work!

User Story:
As a developer I want to be able to define the Version manually.

Background:
If for example you use CLI on CI level, you probably use Semantic Release (https://www.npmjs.com/package/semantic-release) to define the Versions of the Application. In this case, the versions created by react-native-cli-bump-version and Semantic Release will be different. To be able to use it with SR it will be good to add additional parameter to this CLI
@Grohden
Copy link
Owner

Grohden commented Sep 6, 2020

Thanks for the PR! I'm gona review it ASAP

Copy link
Owner

@Grohden Grohden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to change the root react-native.config.js to pass this new flag down

src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
Copy link
Contributor Author

@andreieuganox andreieuganox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to go

src/index.ts Outdated Show resolved Hide resolved
@Grohden Grohden merged commit 608c154 into Grohden:master Sep 7, 2020
@Grohden
Copy link
Owner

Grohden commented Sep 7, 2020

@andreieuganox again, thx for the PR, I'm gonna write tests and soon release it!

@Grohden
Copy link
Owner

Grohden commented Sep 7, 2020

1.0.4 released, feel free to ask me anything in case something is wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants