-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
40 lines (33 loc) · 1.94 KB
/
Makefile
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
run-it-macos:
AWS_PROFILE=dataspray mvn --batch-mode clean install -DskipUTs=true -DskipITs=false -D"invoker.test"='*/pom.xml,!synth-deploy-ecs-service/pom.xml'
run-it-windows:
AWS_PROFILE=dataspray mvn --batch-mode clean install -DskipUTs=true -DskipITs=false -D"invoker.test"='*/pom.xml,!synth-deploy-ecs-service/pom.xml'
run-it-linux:
AWS_PROFILE=dataspray mvn --batch-mode clean install -DskipUTs=true -DskipITs=false -D"invoker.test"='*/pom.xml'
release-patch:
mvn build-helper:parse-version \
-DreleaseVersion=\$${parsedVersion.majorVersion}.\$${parsedVersion.minorVersion}.\$${parsedVersion.nextIncrementalVersion} \
-DdevelopmentVersion=\$${parsedVersion.majorVersion}.\$${parsedVersion.minorVersion}.\$${parsedVersion.nextIncrementalVersion}-SNAPSHOT \
--batch-mode -Dresume=false -DskipITs -Darguments=-DskipITs release:prepare
make release-perform
make release-github-release
release-minor:
mvn build-helper:parse-version \
-DreleaseVersion=\$${parsedVersion.majorVersion}.\$${parsedVersion.nextMinorVersion}.0 \
-DdevelopmentVersion=\$${parsedVersion.majorVersion}.\$${parsedVersion.nextMinorVersion}.0-SNAPSHOT \
--batch-mode -Dresume=false -DskipITs -Darguments=-DskipITs release:prepare
make release-perform
make release-github-release
release-major:
mvn build-helper:parse-version \
-DreleaseVersion=\$${parsedVersion.nextMajorVersion}.0.0 \
-DdevelopmentVersion=\$${parsedVersion.nextMajorVersion}.0.0-SNAPSHOT \
--batch-mode -Dresume=false -DskipITs -Darguments=-DskipITs release:prepare
make release-perform
make release-github-release
release-perform:
mvn -DskipTests -Darguments=-DskipTests -DskipITs -Darguments=-DskipITs --batch-mode release:perform
release-github-release:
mvn build-helper:parse-version \
-DgithubReleaseVersion=\$${parsedVersion.majorVersion}.\$${parsedVersion.minorVersion}.\$${parsedVersion.incrementalVersion} \
-Dgithub.draft=true --non-recursive github-release:release