forked from Grohden/react-native-cli-bump-version
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreact-native.config.js
29 lines (28 loc) · 959 Bytes
/
react-native.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
const { versioner } = require("./lib/index");
const path = require("path");
module.exports = {
commands: [{
name: "bump-version",
func: (_, config, args) => {
versioner(config, args).run();
},
options: [
{
name: "--type [major|minor|patch]",
description: "SemVer release type, optional if --skip-semver-for all is passed",
},
{
name: "--semver [String]",
description: "Pass release version if known. Overwrites calculated SemVer. Optional.",
},
{
name: "--skip-semver-for [android|ios|all]",
description: "Skips bump SemVer for specified platform",
},
{
name: "--skip-code-for [android|ios|all]",
description: "Skips bump version codes for specified platform",
},
],
}],
};