@@ -35,131 +35,131 @@ deploy-docs: ## deploys documentation with orchid
35
35
36
36
.PHONY : snapshot-in-pre-release
37
37
_snapshot-in-pre-release : # # (DEPRECATED) publishes next snapshot in current pre-release version
38
- ./gradlew clean test integrationTest \
38
+ ./gradlew test integrationTest \
39
39
printVersion \
40
40
nativeCompile \
41
41
publishToSonatype \
42
- -PpromoteToRelease \
42
+ -PpromoteRelease \
43
43
--info
44
44
45
45
.PHONY : snapshot-major
46
46
_snapshot-major : # # (DEPRECATED) publishes next snapshot with a major version bump
47
- ./gradlew clean test integrationTest \
47
+ ./gradlew test integrationTest \
48
48
printVersion \
49
49
nativeCompile \
50
50
publishToSonatype \
51
- -PbumpComponent =major \
51
+ -Pincrement =major \
52
52
--info
53
53
54
54
.PHONY : snapshot-minor
55
- snapshot -minor : check_java # # publishes next snapshot with a minor version bump
55
+ _snapshot -minor : check_java # # (DEPRECATED) publishes next snapshot with a minor version bump
56
56
@:$(call check_defined, VERSION, semantic version string - 'X.Y.Z(-rc.\d+) ? ' )
57
57
58
- ./gradlew clean test integrationTest -Pversion='$(VERSION)-SNAPSHOT'
58
+ ./gradlew test integrationTest -Pversion='$(VERSION)-SNAPSHOT'
59
59
./gradlew nativeCompile -Pversion='$(VERSION)-SNAPSHOT' --info
60
60
./gradlew publishToSonatype -Pversion='$(VERSION)-SNAPSHOT' --info
61
61
62
62
.PHONY : snapshot-patch
63
63
_snapshot-patch : # # (DEPRECATED) publishes next snapshot with a patch version bump
64
- ./gradlew clean test integrationTest \
64
+ ./gradlew test integrationTest \
65
65
printVersion \
66
66
nativeCompile \
67
67
publishToSonatype \
68
- -PbumpComponent =patch \
68
+ -Pincrement =patch \
69
69
--info
70
70
71
71
.PHONY : pre-release-major
72
- _pre-release-major : # # (DEPRECATED) publishes next pre-release version with a major version bump
73
- ./gradlew clean test integrationTest \
74
- tag \
72
+ pre-release-major : # # publishes next pre-release version with a major version bump
73
+ ./gradlew test integrationTest \
75
74
nativeCompile \
76
75
publishToSonatype \
77
76
closeSonatypeStagingRepository \
78
- -Prelease -PnewPreRelease -PbumpComponent=major \
77
+ tag \
78
+ -Prelease -PpreRelease -Pincrement=major \
79
79
--info
80
80
81
81
git push origin --tags
82
82
83
83
.PHONY : pre-release-minor
84
- _pre-release-minor : # # (DEPRECATED) publishes next pre-release with a minor version bump
85
- ./gradlew clean test integrationTest \
86
- tag \
84
+ pre-release-minor : # # publishes next pre-release with a minor version bump
85
+ ./gradlew test integrationTest \
87
86
nativeCompile \
88
87
publishToSonatype \
89
88
closeSonatypeStagingRepository \
90
- -Prelease -PnewPreRelease -PbumpComponent=minor \
89
+ tag \
90
+ -Prelease -PpreRelease -Pincrement=minor \
91
91
--info
92
92
93
93
git push origin --tags
94
94
95
95
.PHONY : pre-release-patch
96
- _pre-release-patch : # # (DEPRECATED) publishes next pre-release with a patch version bump
97
- ./gradlew clean test integrationTest \
98
- tag \
96
+ pre-release-patch : # # publishes next pre-release with a patch version bump
97
+ ./gradlew test integrationTest \
99
98
nativeCompile \
100
99
publishToSonatype \
101
100
closeSonatypeStagingRepository \
102
- -Prelease -PnewPreRelease -PbumpComponent=patch \
101
+ tag \
102
+ -Prelease -PpreRelease -Pincrement=patch \
103
103
--info
104
104
105
105
git push origin --tags
106
106
107
107
.PHONY : next-pre-release
108
- _next-pre-release : # # (DEPRECATED) publishes next pre-release version
109
- ./gradlew clean test integrationTest \
110
- tag \
108
+ next-pre-release : # # publishes next pre-release version
109
+ ./gradlew test integrationTest \
111
110
nativeCompile \
112
111
publishToSonatype \
113
112
closeSonatypeStagingRepository \
114
- -Prelease -PpreRelease \
113
+ tag \
114
+ -Prelease -Pincrement=pre_release \
115
115
--info
116
116
117
117
git push origin --tags
118
118
119
119
.PHONY : promote-to-release
120
- _promote-to-release : # # (DEPRECATED) publishes next release from the current pre-release version
121
- ./gradlew clean test integrationTest \
122
- tag \
120
+ promote-to-release : # # publishes next release from the current pre-release version
121
+ ./gradlew test integrationTest \
123
122
nativeCompile \
124
123
publishToSonatype \
125
124
closeSonatypeStagingRepository \
126
- -Prelease -PpromoteToRelease \
125
+ tag \
126
+ -Prelease -PpromoteRelease \
127
127
--info
128
128
129
129
git push origin --tags
130
130
131
131
.PHONY : release-major
132
- _release-major : # # (DEPRECATED) publishes next major release version
133
- ./gradlew clean test integrationTest \
134
- tag \
132
+ release-major : # # publishes next major release version
133
+ ./gradlew test integrationTest \
135
134
nativeCompile \
136
135
publishToSonatype \
137
136
closeSonatypeStagingRepository \
138
- -Prelease -PbumpComponent=major \
137
+ tag \
138
+ -Prelease -Pincrement=major \
139
139
--info
140
140
141
141
git push origin --tags
142
142
143
143
.PHONY : release-minor
144
- _release-minor : # # (DEPRECATED) publishes next minor release version
145
- ./gradlew clean test integrationTest \
146
- tag \
144
+ release-minor : # # publishes next minor release version
145
+ ./gradlew test integrationTest \
147
146
nativeCompile \
148
147
publishToSonatype \
149
148
closeSonatypeStagingRepository \
150
- -Prelease -PbumpComponent=minor \
149
+ tag \
150
+ -Prelease -Pincrement=minor \
151
151
--info
152
152
153
153
git push origin --tags
154
154
155
155
.PHONY : release-patch
156
- _release-patch : # # (DEPRECATED) publishes next patch release version
157
- ./gradlew clean test integrationTest \
158
- tag \
156
+ release-patch : # # publishes next patch release version
157
+ ./gradlew test integrationTest \
159
158
nativeCompile \
160
159
publishToSonatype \
161
160
closeSonatypeStagingRepository \
162
- -Prelease -PbumpComponent=patch \
161
+ tag \
162
+ -Prelease -Pincrement=patch \
163
163
--info
164
164
165
165
git push origin --tags
@@ -169,7 +169,7 @@ release: check_java ## publishes the next release with a specified VERSION
169
169
@:$(call check_defined, VERSION, semantic version string - 'X.Y.Z(-rc.\d+) ? ' )
170
170
171
171
# run tests
172
- ./gradlew clean test integrationTest -Pversion=$(VERSION)
172
+ ./gradlew test integrationTest -Pversion=$(VERSION)
173
173
# build and test native image
174
174
./gradlew nativeCompile -Pversion=$(VERSION) --info
175
175
./cli-bot/build/native/nativeCompile/faker-bot_$(VERSION) list --verbose >/dev/null || false
0 commit comments