dev 2.0.187 → 2.0.188

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasks/publish.rb +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48c7ba6cd40004d26f91236c01620c084fc61cb4
4
- data.tar.gz: 1c49220804d9796425de90451e9a26e4585d7519
3
+ metadata.gz: 541e9cc37395ccd91bc2df8ad83a5577d851d563
4
+ data.tar.gz: cc729e97285105dfc8805054cbe7a0692eda2417
5
5
  SHA512:
6
- metadata.gz: 449e4f267c1e7b4d36f506039ba2f92d8e53730cfbb3eb4ed79675246be8ed93e658cf91aa4a3cc4e92723aa233d68dc965dc6212b5b1a062df346c00ced4965
7
- data.tar.gz: cd523a030e6cd78ecac36faf40619314c8a5ec820ef630fdfa0658f32de04bb8b1993fe3288972cf9871036bbf9f64cc2f4e791c5cb035e5662773815dabe5a5
6
+ metadata.gz: 545e85c27b2edbc491b7310ba5e5f4236dc272e09ddba1f02db57020afa544e745f1d34a8f533f4bf620c3adbd62b394cde16fede9994231d9593a9681e4a148
7
+ data.tar.gz: 63fb5f5dac053e849cae794331926e6ffcc85f6e151ed697cb3b9c73a132b9ec35e6cd9f1f553be7e64edae4e32c3c23b32499c80f08585a3a64b4a938cfdcc3
@@ -6,6 +6,11 @@ task :publish do Tasks.execute_task :publish; end
6
6
 
7
7
  class Publish < Array
8
8
  def update
9
+
10
+ if(File.exists?('git') && defined?(VERSION))
11
+ add "<%Git.publish '#{Rake.application.original_dir}','#{VERSION}'%>"
12
+ end
13
+
9
14
  if(Internet.available?)
10
15
  if(File.exists?('.git'))
11
16
  if(`git branch`.include?('* master'))
@@ -22,7 +27,7 @@ class Publish < Array
22
27
  end
23
28
  end
24
29
  end
25
- Dir.glob('**/*.{nupkg,msi}').each{|publish_file|
30
+ Dir.glob('**/*.{nupkg,msi,gem}').each{|publish_file|
26
31
  dest="#{Environment.dev_root}/publish/#{File.basename(publish_file)}"
27
32
  FileUtils.mkdir_p("#{Environment.dev_root}/publish") if !File.exists?("#{Environment.dev_root}/publish")
28
33
  add "<%FileUtils.cp('#{publish_file}','#{dest}')%>" if(!File.exists?(dest))
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.0.187
4
+ version: 2.0.188
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow