Browse Source

Merge pull request #286 from dmngb/master

maven: also deploy binary targeting .NET 4.0
Oleg Nenashev 7 years ago
parent
commit
39af5e1a8f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pom.xml

+ 2 - 0
pom.xml

@@ -73,6 +73,8 @@
                 <mkdir dir="${project.build.directory}/bin/" />
                 <get src="https://github.com/kohsuke/winsw/releases/download/winsw-v${winsw.version}/WinSW.NET2.exe" dest="${project.build.directory}/bin/winsw.exe" />
                 <attachArtifact file="${project.build.directory}/bin/winsw.exe" type="exe" classifier="bin" />
+                <get src="https://github.com/kohsuke/winsw/releases/download/winsw-v${winsw.version}/WinSW.NET4.exe" dest="${project.build.directory}/bin/winsw4.exe" />
+                <attachArtifact file="${project.build.directory}/bin/winsw4.exe" type="exe" classifier="net4" />
               </tasks>
             </configuration>
           </execution>