dev 2.1.69 → 2.1.70
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/tasks/setup.rb +2 -2
- 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: d2b23709a7cfd0eb7765f09b0cc9982bed89ef1e
|
4
|
+
data.tar.gz: f9432b31799b87a971f3581e6c21d0ef6d6d4670
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbdf2cd87d802d93e6e810f4a16c74ad7327acbe11b6dc1034c572cba246622ce729b28a6d7ccb75263d5fcce8699bdffaa3a2fcae16291b21f37fa8c54bd1a7
|
7
|
+
data.tar.gz: 8a7541345064fb7bd378d8fe71b298d076b4ff180a0d8942d54773c7c520498072a2b0b07ac9a1d7244d1851dcf582e5ead623ef975a5a80e50ea691a4dd3ff2
|
data/lib/tasks/setup.rb
CHANGED
@@ -75,7 +75,7 @@ class Setup < Array
|
|
75
75
|
#puts "updating nuspec files for VERSION #{VERSION}" if env.debug?
|
76
76
|
Dir.glob('*.nuspec').each{|nuspec|
|
77
77
|
#current_version=IO.read(nuspec).scan(/<version>[\d.\w]+<\/version>/)[0]
|
78
|
-
current_version=IO.read(nuspec).scan(/<version>
|
78
|
+
current_version=IO.read(nuspec).scan(/<version>[\d.\w-]+<\/version>/)[0]
|
79
79
|
if(!current_version.nil?)
|
80
80
|
tag=''
|
81
81
|
if(current_version.length > 1)
|
@@ -85,7 +85,7 @@ class Setup < Array
|
|
85
85
|
puts 'no pre-release tag'
|
86
86
|
end
|
87
87
|
|
88
|
-
puts "#{nuspec} current version=#{current_version}" if env.debug?
|
88
|
+
puts "#{nuspec} current version=#{current_version}" #if env.debug?
|
89
89
|
if(current_version.include?('<version>'))
|
90
90
|
target_version="<version>#{VERSION}#{tag}</version>"
|
91
91
|
if(current_version != target_version)
|