mcrt 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mcrt.rb +4 -4
  3. data/mcrt.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55fd17a5464b4a35d721afcbf9ccb7eaa15d39cd
4
- data.tar.gz: 1125e43f1cbc28992487d570a5585e2c9acc92b8
3
+ metadata.gz: c237534da1768b9ac1a58779b3894da7d00daf2c
4
+ data.tar.gz: cb368c543e801220b3d7d5a7df3a028ae474a18b
5
5
  SHA512:
6
- metadata.gz: 3287900e87f879cfb4c77d2af967f769f632398699a4db4f546bafce97967cd5bff5e707eb8fe746e8f5f1901e5f9b393e9c6a2214f632322e677f763fddc4c2
7
- data.tar.gz: bd0bf62b519d45fd0db706a6c9a6b91234d3ad3c7e507ca9149b3d48d28cc14b12288aceef4d923a88ea356dbad2a4f6b159e0638b527cd983e5ec9d8594d606
6
+ metadata.gz: 4af0be75cc3e7bddbbb5731c29c94b23fb9e0da3282202a9a328af9b950be5ec960c5c9f1d0c77fbde9dcc301e19d22b7d9cf4729e5bb2958ae8b0a6fba7e074
7
+ data.tar.gz: 64cff328c52d1bd4d39650357ef756b64b87aa2b02c9205aeca0de59e0ed90391d85a6f4b4427268b4afb4cd6d940a4193d29868bfedcfefccefbabbda6d3619
data/lib/mcrt.rb CHANGED
@@ -12,17 +12,17 @@ class MavenCentralReleaseTool
12
12
  profile_name = options[:profile_name] || (raise ':profile_name not specified when defining tasks')
13
13
  username = options[:username] || (raise ':username name not specified when defining tasks')
14
14
  password = options[:password] || ENV['MAVEN_CENTRAL_PASSWORD'] || (raise "Unable to locate environment variable with name 'MAVEN_CENTRAL_PASSWORD'")
15
- MavenCentralPublishTool.buildr_release(project, profile_name, username, password)
15
+ MavenCentralReleaseTool.buildr_release(project, profile_name, username, password)
16
16
  end
17
17
 
18
18
  desc 'Publish release to maven central iff current HEAD is a tag'
19
19
  task 'mcrt:publish_if_tagged' do
20
- tag = MavenCentralPublishTool.get_head_tag_if_any
20
+ tag = MavenCentralReleaseTool.get_head_tag_if_any
21
21
  if tag.nil?
22
22
  puts 'Current HEAD is not a tag. Skipping publish step.'
23
23
  else
24
24
  puts "Current HEAD is a tag: #{tag}"
25
- if MavenCentralPublishTool.is_tag_on_candidate_branches?(tag, candidate_branches)
25
+ if MavenCentralReleaseTool.is_tag_on_candidate_branches?(tag, candidate_branches)
26
26
  task('mcrt:publish').invoke
27
27
  end
28
28
  end
@@ -72,7 +72,7 @@ class MavenCentralReleaseTool
72
72
 
73
73
  project.task(':upload').invoke
74
74
 
75
- r = MavenCentralPublishTool.new
75
+ r = MavenCentralReleaseTool.new
76
76
  r.username = username
77
77
  r.password = password
78
78
  r.user_agent = "Buildr-#{Buildr::VERSION}"
data/mcrt.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{mcrt}
5
- s.version = '1.6.0'
5
+ s.version = '1.7.0'
6
6
  s.platform = Gem::Platform::RUBY
7
7
 
8
8
  s.authors = ['Peter Donald']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcrt
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Donald