File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,12 @@ module Release =
112112
113113 match p with
114114 | Project Nest ->
115- let esDep = doc.XPathSelectElement( " /x:package/x:metadata//x:dependency[@id='Elasticsearch.Net']" , nsManager);
116- let esDep = esDep.Attribute( xName " id" );
117- esDep.Value <- sprintf " Elasticsearch.Net.v%s " currentMajorVersion
118- rewriteDllFile p.Name
115+ let esDeps = doc.XPathSelectElements( " /x:package/x:metadata//x:dependency[@id='Elasticsearch.Net']" , nsManager);
116+ esDeps |> Seq.iter ( fun e ->
117+ let esDep = e.Attribute( xName " id" );
118+ esDep.Value <- sprintf " Elasticsearch.Net.v%s " currentMajorVersion
119+ rewriteDllFile p.Name
120+ )
119121 | Project ElasticsearchNet ->
120122 rewriteDllFile p.Name
121123 ignore()
You can’t perform that action at this time.
0 commit comments