dev 2.0.174 → 2.0.175
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/publish.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 653d219d4241c8b85856f479720184a0e22813eb
|
4
|
+
data.tar.gz: 8a64cec223444007642cd0fec27cedc301856a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a7fc06c37700ec9a89c2121748a18f8f4a561de763a0fbcf95ee01b87c4c713b91d9e3d7c4e0210f2c521d84cae66b01ef6a5c41131e559f8b7d92d33a7f1fd
|
7
|
+
data.tar.gz: d17423aa12cd60a40e396b3919574408d5ba87f77db96eacb19bf1893105a003f474152733b52a87886bbc20eb76c7e9b4cb4dc46a3911dbb2711ef9931fb5b2
|
data/lib/tasks/publish.rb
CHANGED
@@ -22,10 +22,10 @@ class Publish < Array
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
25
|
-
Dir.glob('**/*.nupkg').each{|
|
26
|
-
dest="#{Environment.dev_root}/publish/#{File.basename(
|
25
|
+
Dir.glob('**/*.{nupkg,msi}').each{|publish_file|
|
26
|
+
dest="#{Environment.dev_root}/publish/#{File.basename(publish_file)}"
|
27
27
|
FileUtils.mkdir_p("#{Environment.dev_root}/publish") if !File.exists?("#{Environment.dev_root}/publish")
|
28
|
-
add "<%FileUtils.cp('#{
|
28
|
+
add "<%FileUtils.cp('#{publish_file}','#{dest}')%>" if(!File.exists?(dest))
|
29
29
|
}
|
30
30
|
end
|
31
31
|
end
|