cocoapods-hd 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 782c27df3a60bf93e3286f6ec858ac3d66664b50cc453d0206cad2f1426c5358
4
- data.tar.gz: 03e1e01bd70cb5a7b3fb9f00fe61fa55ca06c46d3fa3d003e7f9ae5c9292e7a2
3
+ metadata.gz: fb80241605ac54c86b3a1770e0cd87fa7d63a5e7e84040301d55199f4190bf5b
4
+ data.tar.gz: 85f2e7154ef052f35bd40655d6861f0102958bab7bb1c2235e2582bcfcc6f563
5
5
  SHA512:
6
- metadata.gz: a7bbbc414bb7cd0c85baff1278dab7fc9874f3d4075fee27a5686aeb5eb447912f8b422012b91b6351ce908a11aec93097c0bbad8851c7a11f8428bf0062226f
7
- data.tar.gz: 13c646c4978fd95c4440520a1b7ac76a4ec1000ce66a45aa3bd3bcedf1306b3118bf2031eda9cfa70d5c2a7314b3b6385111a19562efd584fed6b96c1ff98c50
6
+ metadata.gz: a5f23b369a48b02bb6b8ef60b02860bfe5f589aa260f75d1647e1e16f38efc69a700286b3d30e41f55c8e943333e908d4b019a0dbb5ba61efd581603263bc362
7
+ data.tar.gz: 2c5ffa3f1739c93f7b459a4732493ae6da54ea90a3458ce89a06dae219475d25f0c039bf8adf83b86f7a6ae1bacb90e82f942f02caeedff50e039f87676bb9f1
@@ -98,7 +98,7 @@ module Pod
98
98
  # 创建tag
99
99
  def create_tag
100
100
 
101
- unless TagUtil.check_release_branch
101
+ unless TagUtil.check_master_branch
102
102
  UI.warn("❌ 当前分支仅支持打 beta tag") unless @beta
103
103
  build_tag if @beta
104
104
  return
@@ -1,3 +1,3 @@
1
1
  module CocoapodsHd
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -20,10 +20,10 @@ module Pod
20
20
  end
21
21
 
22
22
  # tag 是否存在符合格式的分支
23
- def self.check_release_branch
23
+ def self.check_master_branch
24
24
  branch_name = `git symbolic-ref --short -q HEAD`
25
25
  UI.puts("current branch: #{branch_name}")
26
- if branch_name =~ /release_[0-9].[0-9].[0-9]/ || branch_name.to_s.strip == "master"
26
+ if branch_name.to_s.strip == "master"
27
27
  return true
28
28
  end
29
29
  false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-hd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - xingyong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-16 00:00:00.000000000 Z
11
+ date: 2021-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler