dev 2.1.68 → 2.1.69

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasks/setup.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 936ba51e9036006e289bdee7c11ee22427556c1a
4
- data.tar.gz: 110c28f9a8fcd89749d5da30290e2f599339805f
3
+ metadata.gz: b36f13411306a6ef0dbd08c5e10d552ec1a96104
4
+ data.tar.gz: 53e3192ce509143e58568fb0b8c85d8640e53308
5
5
  SHA512:
6
- metadata.gz: aae9415b6d8bd5bace91a1d34a0c1964814bfba1b07a2fc6b1d5ed5df854591f818702a184e42fc1b157bd415aa1c268a36203838555aef45fd2d2de1993f8a0
7
- data.tar.gz: cd584336174161413e4bf1a5062b6ccf9c1d977ceeb150ceb86110dff25d1e2a363434e3720c020276d2d5421cdac5521baa894733d8b84dfa4ad94ba5e6716d
6
+ metadata.gz: 5a401955713e4825194ca76b87e905206a23335619d94a234ff86c121354334d60014c8e96e1fde34bab8a8232a772a8734bef0795da846d36b2d0702e92cd77
7
+ data.tar.gz: 996c0e8aa89bf29e276ec3326b45bfb0f8a9c0b328e519dd65eea45e930cae1b6d8ab914a8e3774c35a212f40ed41d249ae21f1cdc17dfb599462257c7277f38
@@ -77,6 +77,7 @@ class Setup < Array
77
77
  #current_version=IO.read(nuspec).scan(/<version>[\d.\w]+<\/version>/)[0]
78
78
  current_version=IO.read(nuspec).scan(/<version>([\d.]+)([\w-]+)?<\/version>/)[0]
79
79
  if(!current_version.nil?)
80
+ tag=''
80
81
  if(current_version.length > 1)
81
82
  tag=IO.read(nuspec).scan(/<version>([\d.]+)([\w-]+)?<\/version>/)[0][1]
82
83
  puts "pre-release tag #{tag}"
@@ -86,7 +87,7 @@ class Setup < Array
86
87
 
87
88
  puts "#{nuspec} current version=#{current_version}" if env.debug?
88
89
  if(current_version.include?('<version>'))
89
- target_version="<version>#{VERSION}</version>"
90
+ target_version="<version>#{VERSION}#{tag}</version>"
90
91
  if(current_version != target_version)
91
92
  add_quiet "<%Text.replace_in_file('#{nuspec}','#{current_version}','#{target_version}')%>"
92
93
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.68
4
+ version: 2.1.69
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow