File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ __check_defined = \
18
18
19
19
__java_version_ok := $(shell java -version 2>&1|grep 1.8.0 >/dev/null; printf $$? )
20
20
21
- .PHONE : check_java
21
+ .PHONY : check_java
22
22
check_java : # # check current java version (mostly used in other targets)
23
23
ifneq ($(__java_version_ok ) ,$(shell echo 0) )
24
24
$(error "Expected java 1.8")
@@ -166,10 +166,15 @@ _release-patch: ## (DEPRECATED) publishes next patch release version
166
166
release : check_java # # publishes the next release with a specified VERSION
167
167
@:$(call check_defined, VERSION, semantic version string - 'X.Y.Z(-rc.\d+) ? ' )
168
168
169
+ # run tests
169
170
./gradlew clean test integrationTest -Pversion=$(VERSION)
171
+ # build and test native image
170
172
./gradlew nativeImage -Pversion=$(VERSION) --info
173
+ ./cli-bot/build/graal/faker-bot_$(VERSION) list --verbose >/dev/null || false
174
+ ./cli-bot/build/graal/faker-bot_$(VERSION) lookup a --verbose >/dev/null || false
175
+ # publish to sonatype and close staging repo
171
176
./gradlew publishToSonatype closeSonatypeStagingRepository -Pversion=$(VERSION) --info
172
-
177
+ # create and push git tag
173
178
git tag v$(VERSION)
174
179
git push origin --tags
175
180
You can’t perform that action at this time.
0 commit comments