File tree 4 files changed +22
-2
lines changed
aws-lambda-java-runtime-interface-client
4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 15
15
branches : [ main ]
16
16
paths :
17
17
- ' aws-lambda-java-runtime-interface-client/**'
18
+ workflow_dispatch :
18
19
19
20
jobs :
20
21
Original file line number Diff line number Diff line change @@ -24,4 +24,7 @@ dependency-reduced-pom.xml
24
24
.project
25
25
26
26
# OSX
27
- .DS_Store
27
+ .DS_Store
28
+
29
+ # snapshot process
30
+ aws-lambda-java-runtime-interface-client /pom.xml.versionsBackup
Original file line number Diff line number Diff line change 35
35
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
36
36
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
37
37
<jacoco .maven.plugin.version>0.8.8</jacoco .maven.plugin.version>
38
+ <maven-install-plugin .version>2.4</maven-install-plugin .version>
39
+ <maven-deploy-plugin .version>3.1.1</maven-deploy-plugin .version>
38
40
<junit-jupiter .version>5.9.2</junit-jupiter .version>
39
41
<!--
40
42
The test/integration/codebuild/buildspec.*.yml files will set -DmultiArch=false
95
97
</extension >
96
98
</extensions >
97
99
<plugins >
100
+ <plugin >
101
+ <artifactId >maven-install-plugin</artifactId >
102
+ <groupId >org.apache.maven.plugins</groupId >
103
+ <version >${maven-install-plugin.version} </version >
104
+ </plugin >
105
+ <plugin >
106
+ <artifactId >maven-deploy-plugin</artifactId >
107
+ <groupId >org.apache.maven.plugins</groupId >
108
+ <version >${maven-deploy-plugin.version} </version >
109
+ </plugin >
98
110
<plugin >
99
111
<artifactId >maven-surefire-plugin</artifactId >
100
112
<version >3.0.0-M9</version >
Original file line number Diff line number Diff line change 18
18
echo " Already -SNAPSHOT version"
19
19
fi
20
20
21
+ # get the updated project version
22
+ snapshotProjectVersion=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
23
+ echo " Updated project version is ${snapshotProjectVersion} "
24
+
21
25
CLASSIFIERS_ARRAY=(" linux-x86_64" " linux_musl-x86_64" " linux-aarch_64" " linux_musl-aarch_64" )
22
26
23
27
for str in " ${CLASSIFIERS_ARRAY[@]} " ; do
@@ -36,7 +40,7 @@ mvn -B -X -P ci-repo \
36
40
-DgroupId=com.amazonaws \
37
41
-DartifactId=aws-lambda-java-runtime-interface-client \
38
42
-Dpackaging=jar \
39
- -Dversion=$projectVersion \
43
+ -Dversion=$snapshotProjectVersion \
40
44
-Dfile=./target/aws-lambda-java-runtime-interface-client-$projectVersion .jar \
41
45
-Dfiles=$FILES \
42
46
-Dclassifiers=$CLASSIFIERS \
You can’t perform that action at this time.
0 commit comments