File tree 1 file changed +15
-3
lines changed 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 19
19
// each one has files that need to be updated.
20
20
// We model all the files and the runtimes here in this structure
21
21
const Runtimes = {
22
+ java : {
23
+ "project.properties" : {
24
+ dependencies : [ ] ,
25
+ } ,
26
+ } ,
22
27
net : {
23
28
"DynamoDbEncryption/runtimes/net/DynamoDbEncryption.csproj" : {
24
29
dependencies : [ ] ,
25
- assemblyInfo : [
26
- "DynamoDbEncryption/runtimes/net/AssemblyInfo.cs"
27
- ]
30
+ assemblyInfo : "DynamoDbEncryption/runtimes/net/AssemblyInfo.cs" ,
28
31
}
29
32
} ,
30
33
} ;
@@ -100,6 +103,15 @@ module.exports = {
100
103
"semantic-release-replace-plugin" ,
101
104
{
102
105
replacements : [
106
+ // Update the version for all Gradle Java projects
107
+ // Does not update the dependencies
108
+ {
109
+ files : Object . keys ( Runtimes . java ) ,
110
+ from : "projectJavaVersion=.*" ,
111
+ to : 'projectJavaVersion=${nextRelease.version}' ,
112
+ results : Object . keys ( Runtimes . java ) . map ( CheckResults ) ,
113
+ countMatches : true ,
114
+ } ,
103
115
// Update the version for all DotNet projects
104
116
// Does not update the dependencies
105
117
{
You can’t perform that action at this time.
0 commit comments