byCedric / semantic-release-expo

An Expo implementation for semantic release, so you don't have to bother.
MIT License
91 stars 11 forks source link

fix: use semver constructor to create template variables to support prereleases #187

Closed AlbertoLopSie closed 4 years ago

AlbertoLopSie commented 4 years ago

Linked issue

Solves issue #185

Additional context

Using coerce() when building 'next' and 'last' template variables truncates all prerelease information contained in the version string turning all prerelease related SemVer fields useless when using those variables.

The suggested change only affects 'next' template variable construction (the only one I need) Please consider extending it to last if you find it usefull.

codeclimate[bot] commented 4 years ago

Code Climate has analyzed commit dbf2508f and detected 0 issues on this pull request.

View more on Code Climate.