forked from googlemaps/google-maps-ios-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
47 lines (42 loc) · 1.4 KB
/
.releaserc
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
branches:
- main
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- - "@google/semantic-release-replace-plugin"
- replacements:
- files:
- "./Google-Maps-iOS-Utils.podspec"
from: "s.version = \".*\""
to: "s.version = \"${nextRelease.version}\""
- files:
- "./GoogleMapsUtils.xcodeproj/project.pbxproj"
from: "MARKETING_VERSION = .*;"
to: "MARKETING_VERSION = ${nextRelease.version};"
- files:
- "Podfile.template"
from: "'Google-Maps-iOS-Utils', '([0-9]+).([0-9]+).([0-9]+)'"
to: "'Google-Maps-iOS-Utils', '${nextRelease.version}'"
- files:
- "README.md"
from: "(?!6.2.1|4.1.0)([0-9]+).([0-9]+).([0-9]+)"
to: "${nextRelease.version}"
- files:
- "Package.swift"
from: "v([0-9]+).([0-9]+).([0-9]+)"
to: "v${nextRelease.version}"
- - "@semantic-release/exec"
- verifyConditionsCmd: "pod lib lint"
publishCmd: "pod trunk push"
- - "@semantic-release/git"
- assets:
- "./Google-Maps-iOS-Utils.podspec"
- "./GoogleMapsUtils.xcodeproj/project.pbxproj"
- "*.md"
- "Podfile.template"
- "Package.swift"
- - "@semantic-release/github"
- assets:
- "./GoogleMapsUtils.xcframework.zip"
options:
debug: true