瀏覽代碼

Merge pull request #286 from dmngb/master

maven: also deploy binary targeting .NET 4.0
Oleg Nenashev 7 年之前
父節點
當前提交
39af5e1a8f
共有 1 個文件被更改,包括 2 次插入0 次删除
  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>