@gdn/semantic-release-native
v1.4.6
Published
plugin for semantic release that automatically updates the android and ios versions
Downloads
31
Maintainers
Keywords
Readme
semantic-release-native
A semantic release plugin to update your android and ios app version using the semver version from semantic release.
Usage
Simply npm install @gdn/semantic-release-native --save-dev
and add the plugin to your prepare step in semantic release config like so:
"prepare": [
"@gdn/semantic-release-native"
]
Advanced
For android by default semantic-release-native will use ./android
for android folder and use app/build.gradle
under that path. If your android path is different pass androidPath
parameter into semantic release configuration
For ios it takes the '/ios/' folder and attempts to update all subdirectories with plist files to the new version. If your plist files are not below a ./ios
folder you can pass an alternative folder to iosPath
in the semantic release configuration.
Fastlane
If you want to generate release notes for your fastlane, pass isFastlane boolean as following, and locales that you want it to generate under.
"prepare": [
{
"path": "@gdn/semantic-release-native",
"isFastlane": true,
"fastlaneReleaseNoteLanguages": ["en-US", "nl-NL"]
}
]