-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.prepare-release.json
More file actions
51 lines (51 loc) · 1.75 KB
/
Copy path.prepare-release.json
File metadata and controls
51 lines (51 loc) · 1.75 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"_purpose": "This file is used as a definition file for the prepare-release script.",
"_info": "It defines files that contains version number that should be updated during the release preparation.",
"library": {
"name": "mtoken-sdk-flutter",
"type": "flutter"
},
"scriptVersion": 2,
"devVersion": "0.0.1-dev",
"files": [
{
"description": "Main package definition file.",
"path": "pubspec.yaml",
"type": "version_replace",
"match": "\nversion: %VERSION%\n",
"devChange": true
},
{
"description": "Version file used in the SDK code.",
"path": "lib/src/core/version.dart",
"type": "version_replace",
"match": "const wmtSdkVersion = \"%VERSION%\";",
"devChange": true
},
{
"description": "Changelogs for pub.dev and Wultra documentation.",
"paths": ["CHANGELOG.md", "docs/Changelog.md"],
"type": "tba_replace",
"match": "## TBA",
"devChangelog": true
},
{
"description": "Verify that the changelogs do not contain a TBA placeholder.",
"paths": ["CHANGELOG.md", "docs/Changelog.md"],
"type": "verify_not_containing",
"match": "- TBA"
}
],
"scripts": [
{
"type": "bash",
"script": "flutter pub get",
"description": "Run flutter pub get to update dependencies after version change."
},
{
"type": "bash",
"script": "cd example && flutter pub get && cd ..",
"description": "Run flutter pub get to update dependencies after version change."
}
]
}