-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description of the bug
Android version is bumped to semver instead of default android method.
iOS version does not respect leading zeros.
To Reproduce
installed and configured per documentation using 1.0.3
configure
// .versionrc.js
module.exports = {
bumpFiles: [
{
filename: 'package.json',
},
{
filename: 'app.json',
updater: require.resolve('standard-version-expo'),
},
{
filename: 'app.json',
updater: require.resolve('standard-version-expo/android'),
},
{
filename: 'app.json',
updater: require.resolve('standard-version-expo/ios'),
}
]
};
run
% npx standard-version --dry-run
✔ bumping version in package.json from 2.2.4 to 2.2.5
✔ bumping version in app.json from 2.2.4 to 2.2.5
✔ bumping version in app.json from 380020204 to 2.2.5
✔ bumping version in app.json from 2.2.04 to 2.2.5
✔ outputting changes to CHANGELOG.md
---
### 2.2.5 (2020-09-21)
---
✔ committing app.json and package.json and CHANGELOG.md
✔ tagging release v2.2.5
ℹ Run `git push --follow-tags origin CU-buh9bc-trunk-based-ci-cd` to publish
Expected behavior
android would bump to 380020204
iOS would bump to 2.2.05
Actual behavior
android bumpe to 2.2.5
iOS bumped to 2.2.5
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working