dotkit 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dotkit.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26b3de26e39c58cc0c61ff8151c8d525a7605e72f88cb519449d756e9e3f63e8
|
|
4
|
+
data.tar.gz: e152e5ae06fac26e066c154fe0da7795ecadf5a5d77d15553f85a02d1fbf7ed6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f40a554fb6f041c9843b03c70b9d88e91a7453e5ca4f28b37c6d666a1c8e2790d93c70f15b8ced5ebb6420b4b41650ec46cb66b00389d41b108a801f1d44aff
|
|
7
|
+
data.tar.gz: 8d3e257fb53ba669b3c97d4dc9399107b01dd83dbe810f24f7a500d7d40fc1668487126da6ce7aefcb2dba63e1e85614046a543dafbdca674abd92128f0c5fc9
|
data/lib/dotkit.rb
CHANGED
|
@@ -18,7 +18,7 @@ task :test => [:build] do
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
desc "publish local nuget packages"
|
|
21
|
-
task :publish_local do
|
|
21
|
+
task :publish_local => [:build] do
|
|
22
22
|
nuget=PROJECT.get_dev_dir('nuget')
|
|
23
23
|
local_package="#{nuget}/#{PROJECT.name}.#{PROJECT.version}.nupkg"
|
|
24
24
|
if(!File.exist?(local_package))
|
|
@@ -32,7 +32,7 @@ task :publish_local do
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
desc "publish to NuGet.org"
|
|
35
|
-
task :publish_to_nuget do
|
|
35
|
+
task :publish_to_nuget => [:build] do
|
|
36
36
|
if(!ENV['NUGET_KEY'].nil?)
|
|
37
37
|
SECRETS['NUGET_KEY'] = ENV['NUGET_KEY']
|
|
38
38
|
Dir.glob('**/*.nupkg'){|nupkg|
|
|
@@ -46,7 +46,7 @@ task :delete_from_nuget do
|
|
|
46
46
|
if(!ENV['NUGET_KEY'].nil?)
|
|
47
47
|
SECRETS['NUGET_KEY'] = ENV['NUGET_KEY']
|
|
48
48
|
Dir.glob('**/*.nupkg'){|nupkg|
|
|
49
|
-
match = nupkg.match(/([\w.]+[
|
|
49
|
+
match = nupkg.match(/([\w.]+[a-zA-Z]).(\d[\d.]+).nupkg/)
|
|
50
50
|
puts match.to_s
|
|
51
51
|
if(!match.nil? && match.captures.length > 1)
|
|
52
52
|
name=match.captures[0]
|