Martin Šťovíček

Results 52 comments of Martin Šťovíček

Looks like `HEAD` isn't pointing to any Git tag. Is that correct? Thought: Maybe RNV should just skip adjusting Git tags when it doesn't find any, instead of throwing.

@VinceBT New version (2.6.1) is out now on [npm](https://www.npmjs.com/package/react-native-version).

Hm, weird. Here's what I just tried: ```bash $ npm version patch $ react-native-version -a # commit amended, git tag adjusted $ npm version patch # another test commit $...

I'm going to need a reproducible example in order to dig deeper. From your description I gather that you have something like a monorepo with multiple projects or apps in...

Hm, wasn't aware of this. Maybe a check that Git exists in that directory should also be added. `npm version` simply skips tag creation if there isn't a `.git/` directory....

@VinceBT Can you try out `react-native-version@next` (2.6.3-0) and see if that works ok?

Yeah, but isn't that what we want? With `"preversion": "mkdir .git"`, when you run `npm version` and the Git tag for that version does not exist in your repo, it...

Could you post some version info? RN, node, etc. Or a sample project would be even better. Look into the test fixtures folder here and you'll see the sample project...

@CarbonC Are you using create-react-native-app by any chance?

@jsamr Thanks, will look into it.